{% extends "gestion/base.html" %} {% load static %} {% load i18n %} {% block titre %}{% trans "L'Ernestophone : Créer un compte" %}{% endblock %} {% block content %}

{% trans "Créer un compte :" %}

{% if error %}

{{ error }}

{% endif %}
{% csrf_token %} {{ comp_form.non_field_errors }} {{ user_form.as_p }} {% for field in comp_form %}
{{ field.errors }} {% if field.id_for_label == "id_instru_autre" %}
{% if photo %}
{% if photo.url %} {% if photo.auteur %}{{photo.auteur}}{%endif%} {% elif photo.auteur %} {% endif %}
{% else %}
{%endif%}
{% endblock %}