{% extends "beam/base.html" %} {% load crispy_forms_tags %} {% load i18n %} {% block title %}{% trans "Log in" %} | {{ block.super }}{% endblock %} {% block content %}

{% block heading %}{% trans "Log in" %}{% endblock %}

{% if next %} {% if user.is_authenticated %}

{% trans "Your account doesn't have access to this page. To proceed, please log in with an account that has access." %}

{% else %}

{% trans "Please log in to see this page." %}

{% endif %} {% endif %}
{% csrf_token %} {{ form|crispy }}
{# Assumes you setup the password_reset view in your URLconf #} {% url 'password_reset' as reset_url %} {% if reset_url %}

{% trans "Forgotten your password or username?" %}

{% endif %} {% endblock %}