{% extends "admin/login.html" %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {% block theme %}{% endblock %} {% if current_theme and current_theme != 'default' %} {% endif %} {% endblock %} {% block branding %}{% endblock %} {% block inside_container %}{% endblock %} {% block tray %}{% endblock %} {% block breadcrumbs %}{% endblock %} {% block side_nav %}{% endblock %} {% block content %}
{% if form.errors and not form.non_field_errors %}

{% if form.errors.items|length == 1 %} {% trans "Please correct the error below." %} {% else %} {% trans "Please correct the errors below." %} {% endif %}

{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %} {% if user.is_authenticated %}

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

{% endif %}
{% csrf_token %}
person
{{ form.username.errors }}
lock visibility visibility_off
{{ form.password.errors }}
{% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% endif %}
{% endblock %}