{% extends "admin/base_site.html" %} {% block extrastyle %}{{ super()}}{% endblock %} {% block bodyclass %}login{% endblock %} {% block navglobal %}{% 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 %}

{% trans count=form.errors.items|length%}Please correct the error below. {% pluralize %}Please correct the errors below.{% endtrans %}

{% endif %} {% if form.non_field_errors or form.this_is_the_login_form.errors %} {% for error in form.non_field_errors() %}

{{ error }}

{% endfor %} {% endif %}
{% csrf_token %}
{% if not form.this_is_the_login_form.errors %}{{ form.username.errors }}{% endif %} {{ form.username }}
{% if not form.this_is_the_login_form.errors %}{{ form.password.errors }}{% endif %} {{ form.password }}
{% endblock %}