X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/02cdcdba9168e9427d34357be90d862aee265e84..83621a799fb84edd717d2fda1eb1c4d01bfd8e21:/Resources/views/user/edit.html.twig diff --git a/Resources/views/user/edit.html.twig b/Resources/views/user/edit.html.twig index 4ddcbc7..18637f9 100644 --- a/Resources/views/user/edit.html.twig +++ b/Resources/views/user/edit.html.twig @@ -8,15 +8,29 @@ {{ form_row(form.mail) }} {% endif %} - {{ form_row(form.civility) }} + {% if form.civility is defined %} + {{ form_row(form.civility) }} + {% endif %} - {{ form_row(form.forename) }} + {% if form.forename is defined %} + {{ form_row(form.forename) }} + {% endif %} - {{ form_row(form.surname) }} + {% if form.surname is defined %} + {{ form_row(form.surname) }} + {% endif %} - {{ form_row(form.pseudonym) }} + {% if form.pseudonym is defined %} + {{ form_row(form.pseudonym) }} + {% endif %} - {{ form_row(form.phone) }} + {% if form.slug is defined %} + {{ form_row(form.slug) }} + {% endif %} + + {% if form.phone is defined %} + {{ form_row(form.phone) }} + {% endif %} {{ form_row(form.submit) }}