Browse Source

Fixed indentation of an example.

pull/1638/head
Armin Ronacher 15 years ago
parent
commit
56675b3bad
  1. 4
      docs/patterns/wtforms.rst

4
docs/patterns/wtforms.rst

@ -75,9 +75,7 @@ Here an example `_formhelpers.html` template with such a macro:
<dd>{{ field(**kwargs)|safe }}
{% if field.errors %}
<ul class="errors">
{% for error in field.errors %}
<li>{{ error }}</li>
{% endfor %}
{% for error in field.errors %}<li>{{ error }}{% endfor %}
</ul>
{% endif %}
</dd>

Loading…
Cancel
Save