1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00
ihatemoney_ynh/sources/budget/templates/display_errors.html
Jocelyn Delalande 2b3b63ef27 Merge branch 'upstream'
Conflicts:
	sources/budget/static/css/datepicker.css
	sources/budget/static/js/jquery-1.7.2.min.js
2017-03-18 17:58:12 +01:00

5 lines
246 B
HTML

{% for field_name, field_errors in form.errors.items() if field_errors %}
{% for error in field_errors %}
<p class="alert alert-danger"><strong>{{ form[field_name].label.text }}:</strong> {{ error }}</p>
{% endfor %}
{% endfor %}