]> Raphaƫl G. Git Repositories - userbundle/blob - templates/recover.html.twig
Use group name instead of role
[userbundle] / templates / recover.html.twig
1 {% trans_default_domain 'rapsysuser' %}
2 {% extends '@RapsysUser/_base.html.twig' %}
3 {% block content %}
4 <section id="rapsysuser_recover">
5 <header>
6 <h2><a href="{{ self_url }}">{{ title }}</a></h2>
7 </header>
8 {{ form_start(recover) }}
9 <div>
10 {% if recover.mail is defined %}
11 {{ form_row(recover.mail) }}
12 {% endif %}
13
14 {% if recover.password is defined %}
15 {{ form_row(recover.password) }}
16 {% endif %}
17
18 {{ form_row(recover.submit) }}
19 </div>
20
21 {# Render CSRF token etc .#}
22 <footer style="display:none">{{ form_rest(recover) }}</footer>
23 {{ form_end(recover) }}
24 </section>
25 {% endblock %}