{% extends "admin/base.html" %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {{ form.media }} {% endblock %} {% block bodyclass %}bg-body{% endblock %} {% block outter_wrapper %}
{% trans "Sign in to your account to continue" %}
{% if form.errors.items|length == 1 %} {% translate "Please correct the error below." %} {% else %} {% translate "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 %}{% 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 %}