{% extends 'unfold/layouts/skeleton.html' %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {{ form.media }} {% endblock %} {% block bodyclass %}{{ block.super }}bg-gray-50 login dark:bg-gray-900{% endblock %} {% block usertools %}{% endblock %} {% block nav-global %}{% endblock %} {% block nav-sidebar %}{% endblock %} {% block content_title %}{% endblock %} {% block breadcrumbs %}{% endblock %} {% block title %} {{ title }} | {{ site_title }} {% endblock %} {% block base %}

{% trans 'Welcome back to' %} {{ site_title }}

{% include "unfold/helpers/messages/errornote.html" with errors=form.errors %} {% include "unfold/helpers/messages/error.html" with errors=form.non_field_errors %} {% if user.is_authenticated %} {% blocktranslate trimmed asvar message %} You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account? {% endblocktranslate %} {% include "unfold/helpers/messages/error.html" with error=message %} {% endif %} {% block login_before %}{% endblock %}
{% csrf_token %} {% include "unfold/helpers/field.html" with field=form.username %} {% include "unfold/helpers/field.html" with field=form.password %} {% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% endif %}
{% block login_after %}{% endblock %}
{% if site_url %} arrow_back {% trans 'Return to site' %} {% endif %} {% if not theme %} {% include "unfold/helpers/theme_switch.html" %} {% endif %}
{% if image %} {% endif %}
{% endblock %}