More spacing fixes. This time in _formhelpers

This commit is contained in:
Sage Vaillancourt 2022-09-22 16:30:14 -04:00
parent 941e83282f
commit 2acac101f1
2 changed files with 14 additions and 12 deletions

View File

@ -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 %}

View File

@ -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">