More spacing fixes. This time in _formhelpers
This commit is contained in:
parent
941e83282f
commit
2acac101f1
|
@ -1,12 +1,15 @@
|
|||
{% macro render_field(field, extra="") %}
|
||||
<dt>{{ field.label }}
|
||||
<dd {{extra}}>{{ field(**kwargs)|safe }}
|
||||
{% if field.errors %}
|
||||
<ul class=errors>
|
||||
{% for error in field.errors %}
|
||||
<li>{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</dd>
|
||||
<dt>{{ field.label }}</dt>
|
||||
|
||||
<dd {{extra}}>
|
||||
{{ field(**kwargs)|safe }}
|
||||
|
||||
{% if field.errors %}
|
||||
<ul class=errors>
|
||||
{% for error in field.errors %}
|
||||
<li>{{ error }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</dd>
|
||||
{% endmacro %}
|
||||
|
|
|
@ -3,8 +3,7 @@
|
|||
|
||||
<head>
|
||||
<title>UnderCover</title>
|
||||
<link rel="stylesheet" type="text/css" href="
|
||||
{{ url_for('static', filename='styles_min.css') }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles_min.css') }}">
|
||||
<meta name="viewport" content="user-scalable=no; width=device-width">
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in New Issue