aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates
diff options
context:
space:
mode:
authorBenjamin Bouvier <public@benj.me>2018-09-03 20:52:48 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2018-09-03 20:52:48 +0200
commit22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d (patch)
treef311e696e2a04c6ca3632a94131f2a7049088dd7 /ihatemoney/templates
parentbb77fdbe3e4f3605b201de5cdb96483d73b3dda4 (diff)
downloadihatemoney-mirror-22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d.zip
ihatemoney-mirror-22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d.tar.gz
ihatemoney-mirror-22f8d552c3f2273f1ea1cfa81cb10fe8f3cad21d.tar.bz2
Fix error escaping; (#388)
Diffstat (limited to 'ihatemoney/templates')
-rw-r--r--ihatemoney/templates/display_errors.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/templates/display_errors.html b/ihatemoney/templates/display_errors.html
index 9e19605..265fa25 100644
--- a/ihatemoney/templates/display_errors.html
+++ b/ihatemoney/templates/display_errors.html
@@ -1,5 +1,5 @@
{% 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>
+ <p class="alert alert-danger"><strong>{{ form[field_name].label.text }}:</strong> {{ error|escape }}</p>
{% endfor %}
{% endfor %}