{% extends "djadmin2theme_default/base.html" %} {% load i18n %} {% load admin2_tags %} {% block css %} {{ block.super }} {% endblock css %} {% block navbar %}{% endblock navbar %} {% block breacrumbs %}{% endblock breacrumbs %} {% block class_page_title %}span12 login-title{% endblock class_page_title %} {% block page_title %}{% trans "Site administration" %} - {% trans "Log in" %}{% endblock page_title %} {% block content %}
{% csrf_token %}
{% if form.errors and not form.non_field_errors and not form.this_is_the_login_form.errors %}

{% blocktrans count form.errors.items|length as counter %}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|add:form.this_is_the_login_form.errors %}

× {{ error }}

{% endfor %} {% endif %}
{% endblock content %}