{% extends "base.html" %} {% load i18n %} {% comment %}This page is automatically used by django.contrib.auth.views{% endcomment %} {% block title %}{% trans "Login" %} — {{ block.super }}{% endblock %} {% block body %}

{% trans "Log in" %}

{% if next %}

{% if user.is_authenticated %} {% blocktrans trimmed %} Your account does not have access to this page. To proceed, please log in with an account that has access. {% endblocktrans %} {% else %} {% blocktrans trimmed %} Please log in to see this page. {% endblocktrans %} {% endif %}

{% endif %} {% if form.errors %}
{% trans "Invalid username or password." %}
{% endif %}
{% csrf_token %}
{% endblock %}