summaryrefslogtreecommitdiff
path: root/project/templates/_errors.html
diff options
context:
space:
mode:
Diffstat (limited to 'project/templates/_errors.html')
-rw-r--r--project/templates/_errors.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/project/templates/_errors.html b/project/templates/_errors.html
new file mode 100644
index 0000000..f0e21d1
--- /dev/null
+++ b/project/templates/_errors.html
@@ -0,0 +1,2 @@
+{% if messages %}<div id="messages">{% for message in messages %}{{ message }}{% endfor %}</div>{% endif %}
+{% if form.errors %}<div id="errors">Please correct the errors below</div>{% endif %}