diff --git a/templates/admin/login.html b/templates/admin/login.html index 1f63b2d..111f485 100644 --- a/templates/admin/login.html +++ b/templates/admin/login.html @@ -3,7 +3,7 @@ {% block extrastyle %}{{ block.super }}{% endblock %} -{% block bodyclass %}{{ block.super }} login{% endblock %} +{% block bodyclass %}login{% endblock %} {% block nav-global %}{% endblock %} @@ -11,37 +11,37 @@ {% block breadcrumbs %}{% endblock %} +{% block container-top %}{% endblock %} + {% block branding %}
{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{% endif %} -{% if form.non_field_errors %} -{% for error in form.non_field_errors %} +{% if form.non_field_errors or form.this_is_the_login_form.errors %} +{% for error in form.non_field_errors|add:form.this_is_the_login_form.errors %}{{ error }}
{% endfor %} {% endif %} -{% block container-top %}{% endblock %} - -