{% extends "base.html" %} {% load i18n %} {% block title %} {% trans "Se connecter" %} {% endblock %} {% block content %}
{% if next %}
{% if user.is_authenticated %}

Sorry, you cannot access this section. Please try to log in again or with another account.

{% endif %}
{% endif %}
{% csrf_token %}
{{ form.username.errors }} {{ form.username }}
{{ form.password.errors }} {{ form.password }}
{% if form.errors and not form.non_field_errors %}
{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}
{{ error }}
{% endfor %} {% endif %} {% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% endif %}
Terms & Conditions - Privacy Policy
{% endblock %}