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.phone is defined %}
29 {{ form_row(edit.phone) }}
32 {{ form_row(edit.submit) }}
35 {# Render CSRF token etc .#}
36 <footer style="display:none">{{ form_rest(edit) }}</footer>
39 {% if reset is defined %}
41 <h2><a href="{{ path('rapsys_user_register') }}">{{ password }}</a></h2>
42 {{ form_start(reset) }}
44 {% if reset.password is defined %}
45 {{ form_row(reset.password.first) }}
47 {{ form_row(reset.password.second) }}
50 {{ form_row(reset.submit) }}
53 {# Render CSRF token etc .#}
54 <footer style="display:none">{{ form_rest(reset) }}</footer>