aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/display_errors.html
diff options
context:
space:
mode:
Diffstat (limited to 'budget/templates/display_errors.html')
-rw-r--r--budget/templates/display_errors.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/budget/templates/display_errors.html b/budget/templates/display_errors.html
new file mode 100644
index 0000000..15039a2
--- /dev/null
+++ b/budget/templates/display_errors.html
@@ -0,0 +1,5 @@
+{% for errors in form.errors.values() %}
+ {% for error in errors %}
+ <p class="error">{{error}}</p>
+ {% endfor %}
+{% endfor %}