{% extends "base.html" %} {% load i18n %} {% load static %} {% block title %} {% trans "Login" %} {% endblock %} {% block supplementary_css %} {% endblock %} {% block content %} {% if next %}
{% if user.is_authenticated %}

{% blocktrans %} Your account doesn't have access to this page. To proceed, please login with an account that has access. {% endblocktrans %}

{% else %}

{% trans "Please login to see this page." %}

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

{% trans "Your username and password didn't match. Please try again." %}

{% endif %}
{% csrf_token %}
{{ form.username }}
{{ form.password.label_tag }} {{ form.password }}
{% trans "Lost password?" %}
{% csrf_token %}
{% trans "Register now!" %}
{% endblock %}