forked from orbit-oss/flask
Fixed indentation of an example.
This commit is contained in:
parent
976e792336
commit
56675b3bad
1 changed files with 6 additions and 8 deletions
|
|
@ -75,9 +75,7 @@ Here an example `_formhelpers.html` template with such a macro:
|
||||||
<dd>{{ field(**kwargs)|safe }}
|
<dd>{{ field(**kwargs)|safe }}
|
||||||
{% if field.errors %}
|
{% if field.errors %}
|
||||||
<ul class="errors">
|
<ul class="errors">
|
||||||
{% for error in field.errors %}
|
{% for error in field.errors %}<li>{{ error }}{% endfor %}
|
||||||
<li>{{ error }}</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue