{% extends "gestion/base.html" %} {% load static %} {% load i18n %} {% block titre %}{% trans "L'Ernestophone : Connexion" %}{% endblock %} {% block content %}

{% trans "Connexion" %} :

{% if form.errors %}

{% trans "Mot de passe ou nom d'utilisateur incorrect" %}

{% endif %} {% if error %}

{{ error }}

{% endif %}
{% csrf_token %} {{ form.as_p }} {% if next %} {% else %} {% endif %}
{% if photo %}
{% if photo.url %} {% if photo.auteur %}{{photo.auteur}}{%endif%} {% elif photo.auteur %} {% endif %}
{% else %} {% endif %}
{% endblock %}