{% extends "admin/base_site_login.html" %} {% load i18n admin_static %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block bodyclass %}login{% endblock %} {% block nav-global %}{% endblock %} {% block content_title %}{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %} {% if form.errors and not form.non_field_errors and not form.this_is_the_login_form.errors %}
{% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
{% endif %} {% if form.non_field_errors or form.this_is_the_login_form.errors %} {% for error in form.non_field_errors %}{{ error }}
{% endfor %} {% for error in form.this_is_the_login_form.errors %}{{ error }}
{% endfor %} {% endif %}