]> Raphaƫl G. Git Repositories - userbundle/blob - templates/recover.html.twig
3b7dab9ff700fe9c9544e7386fc43400b4543689
[userbundle] / templates / recover.html.twig
1 {% extends '@RapsysUser/base.html.twig' %}
2 {% block content %}
3 <section id="rapsysuser_recover">
4 <header>
5 <h2><a href="{{ self_url }}">{{ title }}</a></h2>
6 </header>
7 {% if sent %}
8 <p class="message notice">{% trans from "rapsysuser" %}Your recover account message has been sent{% endtrans %}</p>
9 {% else %}
10 {{ form_start(recover) }}
11 <div>
12 {% if recover.mail is defined %}
13 {{ form_row(recover.mail) }}
14 {% endif %}
15
16 {% if recover.password is defined %}
17 {{ form_row(recover.password) }}
18 {% endif %}
19
20 {{ form_row(recover.submit) }}
21 </div>
22
23 {# Render CSRF token etc .#}
24 <footer style="display:none">{{ form_rest(recover) }}</footer>
25 {{ form_end(recover) }}
26 {% endif %}
27 </section>
28 {% endblock %}