2011-08-05 16:42:43 +02:00
|
|
|
{% for field_name, field_errors in form.errors.items() if field_errors %}
|
|
|
|
{% for error in field_errors %}
|
|
|
|
<p class="error">{{ form[field_name].label.text }}: {{ error }}</p>
|
2011-07-30 15:46:53 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|