{% extends "authentic2/cut-edit.html" %}

{% block cut-edit-title %}Modifier mes données complémentaires{% endblock %}
{% block form %}
<h3 class="section">Identité</h3>
<div>
  {% if form.preferred_givenname %}
  {% include "gadjo/widget.html" with field=form.preferred_givenname %}
  {% endif %}

  {% if form.preferred_username %}
  {% include "gadjo/widget.html" with field=form.preferred_username %}
  {% endif %}

  {% if form.birthdepartment %}
  {% include "gadjo/widget.html" with field=form.birthdepartment %}
  {% endif %}
</div>

<h3 class="section">Adresse</h3>
<div>
  {% if form.address_number %}
  {% include "gadjo/widget.html" with field=form.address_number %}
  {% endif %}

  {% if form.address_street %}
  {% include "gadjo/widget.html" with field=form.address_street %}
  {% endif %}

  {% if form.address_complement %}
  {% include "gadjo/widget.html" with field=form.address_complement %}
  {% endif %}

  {% if form.address_zipcode %}
  {% include "gadjo/widget.html" with field=form.address_zipcode %}
  {% endif %}

  {% if form.address_city %}
  {% include "gadjo/widget.html" with field=form.address_city %}
  {% endif %}

  {% if form.address_country %}
  {% include "gadjo/widget.html" with field=form.address_country %}
  {% endif %}
</div>

<h3 class="section">Coordonnées</h3>
<div>
  {% if form.home_mobile_phone %}
  {% include "gadjo/widget.html" with field=form.home_mobile_phone %}
  {% endif %}

  {% if form.home_phone %}
  {% include "gadjo/widget.html" with field=form.home_phone %}
  {% endif %}

  {% if form.professional_mobile_phone %}
  {% include "gadjo/widget.html" with field=form.professional_mobile_phone %}
  {% endif %}

  {% if form.professional_phone %}
  {% include "gadjo/widget.html" with field=form.professional_phone %}
  {% endif %}
</div>
{% endblock %}

