{% load i18n static jazzmin admin_urls %} {% get_current_language as LANGUAGE_CODE %} {% get_current_language_bidi as LANGUAGE_BIDI %} {% get_jazzmin_settings request as jazzmin_settings %} {% get_jazzmin_ui_tweaks as jazzmin_ui %} {#lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}#} {# #} {% block title %}{{ title }} | {% trans 'Log in again' %}{% endblock %}
{% 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 %} {% if form.errors %} {% if form.username.errors %}

{{ form.username.label }}: {{ form.username.errors|join:', ' }}

{% endif %} {% if form.password.errors %}

{{ form.password.label }}: {{ form.password.errors|join:', ' }}

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

{{ error }}

{% endfor %}
{% endif %} {% endif %}