{% extends "core/base.jinja" %} {% block title %} {% trans %}Login{% endtrans %} {% endblock %} {% block content %} {% if form.errors %}
{% trans %}Your username and password didn't match. Please try again.{% endtrans %}
{% endif %} {% if next %} {% if user.is_authenticated %}{% trans %}Your account doesn't have access to this page. To proceed, please login with an account that has access.{% endtrans %}
{% else %}{% trans %}Please login or create an account to see this page.{% endtrans %}
{% endif %} {% endif %} {# Assumes you setup the password_reset view in your URLconf #} {% endblock %}