1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
5 <h2><a href="{{ path('rapsys_user_edit', {'mail': app.user.mail|short, 'hash': app.user.mail|short|hash}) }}">{{ title }}</a></h2>
8 {% if edit.mail is defined %}
9 {{ form_row(edit.mail) }}
12 {% if edit.civility is defined %}
13 {{ form_row(edit.civility) }}
16 {% if edit.forename is defined %}
17 {{ form_row(edit.forename) }}
20 {% if edit.surname is defined %}
21 {{ form_row(edit.surname) }}
24 {% if edit.pseudonym is defined %}
25 {{ form_row(edit.pseudonym) }}
28 {% if edit.slug is defined %}
29 {{ form_row(edit.slug) }}
32 {% if edit.phone is defined %}
33 {{ form_row(edit.phone) }}
36 {{ form_row(edit.submit) }}
39 {# Render CSRF token etc .#}
40 <footer style="display:none">{{ form_rest(edit) }}</footer>
43 {% if reset is defined %}
45 <h2><a href="{{ path('rapsys_user_register') }}">{{ password }}</a></h2>
46 {{ form_start(reset) }}
48 {% if reset.password is defined %}
49 {{ form_row(reset.password.first) }}
51 {{ form_row(reset.password.second) }}
54 {{ form_row(reset.submit) }}
57 {# Render CSRF token etc .#}
58 <footer style="display:none">{{ form_rest(reset) }}</footer>