{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %}{{ block.super }} {# #} {{ form.media }} {% endblock %} {% block bodyclass %}{{ block.super }} login{% endblock %} {% block usertools %}{% endblock %} {% block nav-global %}{% endblock %} {% block nav-sidebar %}{% endblock %} {% block content_title %}{% endblock %} {% block nav-breadcrumbs %}{% endblock %} {% block content %}
{% if user.is_authenticated %}

{% blocktranslate trimmed %} You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account? {% endblocktranslate %}

{% endif %} {% if form.errors and not form.non_field_errors %}

{% blocktranslate count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}

{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %} {% endfor %} {% endif %}
{% csrf_token %}
{{ form.username.errors }}
{{ form.password.errors }}
{% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% translate 'Forgotten your password or username?' %} {% endif %}
{% endblock %}