diff --git a/nummi/main/templates/main/form.html b/nummi/main/templates/main/form.html index 4f7354b..6ea161d 100644 --- a/nummi/main/templates/main/form.html +++ b/nummi/main/templates/main/form.html @@ -1,3 +1,10 @@ +{% if form.non_field_errors %} + +{% endif %} {% for field in form %} {{ field.errors }} diff --git a/nummi/main/templates/main/login.html b/nummi/main/templates/main/login.html index 0571400..3a44ede 100644 --- a/nummi/main/templates/main/login.html +++ b/nummi/main/templates/main/login.html @@ -13,6 +13,13 @@
{% csrf_token %} + {% if form.non_field_errors %} + + {% endif %} {% for field in form %} {{ field.errors }}