mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
Fix error escaping;
This commit is contained in:
parent
2eafb7260c
commit
f8ba51f4b3
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{% for field_name, field_errors in form.errors.items() if field_errors %}
|
{% for field_name, field_errors in form.errors.items() if field_errors %}
|
||||||
{% for error in field_errors %}
|
{% for error in field_errors %}
|
||||||
<p class="alert alert-danger"><strong>{{ form[field_name].label.text }}:</strong> {{ error }}</p>
|
<p class="alert alert-danger"><strong>{{ form[field_name].label.text }}:</strong> {{ error|escape }}</p>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue