# HG changeset patch # User Sverre Rabbelier # Date 1236899140 0 # Node ID ecc40aa58e19fffa0c93ead9f0aa85dd51a882c9 # Parent 1e34fa8c5da0c0e60172f022d280c138f3d83b96 Display a warning if there are errors on the form Patch by: Sverre Rabbelier diff -r 1e34fa8c5da0 -r ecc40aa58e19 app/soc/templates/soc/templatetags/_as_table.html --- a/app/soc/templates/soc/templatetags/_as_table.html Thu Mar 12 23:04:53 2009 +0000 +++ b/app/soc/templates/soc/templatetags/_as_table.html Thu Mar 12 23:05:40 2009 +0000 @@ -13,6 +13,13 @@ {% endcomment %} {% load forms_helpers %} +{% if errors %} + +There are errors on this form, please scroll down to see them.
+Your changes have not been saved. +
+{% endif %} + {% if hidden_field_errors or top_errors %}