summaryrefslogtreecommitdiff
path: root/project/templates/_errors.html
diff options
context:
space:
mode:
authorParth Buch2012-08-28 17:03:37 +0530
committerParth Buch2012-08-28 17:03:37 +0530
commit7e38fd922a8dd4742d09758cd1c94fb0302045d3 (patch)
treeb43d6ea8c47fb80e09e5e0bfd8759ac7d697addf /project/templates/_errors.html
downloadscipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.tar.gz
scipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.tar.bz2
scipywebsite-7e38fd922a8dd4742d09758cd1c94fb0302045d3.zip
Reboot for scipy 2012
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 %}