{% extends "admin/base_site_one_col.html" %} {% load i18n static %} {% block branding %}

Papermerge

{% endblock %} {% block title %}{% trans "Sign In" %} | Papermerge{% endblock %} {% block bodyclass %}{{ block.super }} login bg-light-gray {% endblock %} {% block usertools %}{% endblock %} {% block nav-global %}{% endblock %} {% block content_title %}{% endblock %} {% block breadcrumbs %}{% endblock %} {% block topbar %} {% include "_topbar.html" with current='login' %} {% endblock topbar %} {% 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 %}
{% endfor %} {% endif %}

{% trans "Sign in" %}

{% 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 %}
{{ form.username.errors }} {{ form.username.label_tag }} {{ form.username }}
{{ form.password.errors }} {{ form.password.label_tag }} {{ form.password }}
{% url 'password_reset' as password_reset_url %}
{% endblock %}