{% extends "admin/base_site.html" %} {% load i18n %} {% block bodyclass %}login row{% endblock %} {% block header %}{% endblock %} {% block content_title %}

{% trans "Enter username and password" %}

{% endblock %} {% block breadcrumbs %}{% endblock %} {% block container-class %}container{% endblock %} {% block coltype %}span8 offset2{% endblock %} {% block content %} {% 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 %}
{% csrf_token %}
{{ form.username }} {% if form.username.errors %}{{ form.username.errors }}{% endif %}
{{ form.password }} {% if form.password.errors %}{{ form.password.errors }}{% endif %}
{% endblock %}