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="") %}
|
{% macro render_field(field, extra="") %}
|
||||||
<dt>{{ field.label }}
|
<dt>{{ field.label }}</dt>
|
||||||
<dd {{extra}}>{{ field(**kwargs)|safe }}
|
|
||||||
{% if field.errors %}
|
<dd {{extra}}>
|
||||||
<ul class=errors>
|
{{ field(**kwargs)|safe }}
|
||||||
{% for error in field.errors %}
|
|
||||||
<li>{{ error }}</li>
|
{% if field.errors %}
|
||||||
{% endfor %}
|
<ul class=errors>
|
||||||
</ul>
|
{% for error in field.errors %}
|
||||||
{% endif %}
|
<li>{{ error }}</li>
|
||||||
</dd>
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
{% endif %}
|
||||||
|
</dd>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>UnderCover</title>
|
<title>UnderCover</title>
|
||||||
<link rel="stylesheet" type="text/css" href="
|
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles_min.css') }}">
|
||||||
{{ url_for('static', filename='styles_min.css') }}">
|
|
||||||
<meta name="viewport" content="user-scalable=no; width=device-width">
|
<meta name="viewport" content="user-scalable=no; width=device-width">
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
Loading…
Reference in New Issue