{% extends "registration/base.html" %}{% load i18n %} {% block registration_content %}

{% trans "Login" %}

{% if form.errors %}

{% trans "Login has failed" %}

{% else %}

{% endif %}

{% csrf_token %} {% if form.non_field_errors %} {{form.non_field_errors}} {% endif %} {% include "_field.html" with field=form.email %} {% include "_field.html" with field=form.password %}
{% trans "Email" %}
{% trans "Password" %}
{% trans "Forgotten Password" %}
{% endblock %}