mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
Error display changed.
This commit is contained in:
parent
4e24edd5c9
commit
410c4596df
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
{% for errors in form.errors.values() %}
|
||||
{% for error in errors %}
|
||||
<p class="error">{{error}}</p>
|
||||
{% 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>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue