{% extends 'registration/base.html' %} {% load i18n %} {% block title %}{% trans "login_title" %}{% endblock title %} {% block header %}{% trans "login_title" %}{% endblock header %} {% block content %} {% if form.errors %}
{% trans "login_error" %}
{% endif %} {% if next %} {% if user.is_authenticated %}{% trans "login_access" %}
{% endif %} {% endif %} {% endblock content %}