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 }} <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…
Cancel
Save