]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover_mail.html.twig
081376e2dec61adf6e10a554503c05105c96a3bf
[airbundle] / Resources / views / form / recover_mail.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block content %}
3 <section id="form">
4 <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
5 {% if sent %}
6 <p>{% trans %}Your password is updated and an account recover message has been sent{% endtrans %}</p>
7 {% elseif notfound %}
8 <p>{% trans %}Unable to find account{% endtrans %}</p>
9 {% else %}
10 <div>
11 {{ form_start(form) }}
12
13 <header>{{ form_errors(form) }}</header>
14
15 <section>
16 {{ form_row(form.password) }}
17 </section>
18
19 {{ form_row(form.submit) }}
20
21 {# Render CSRF token etc .#}
22 <footer style="display:none">
23 {{ form_rest(form) }}
24 </footer>
25
26 {{ form_end(form) }}
27 </div>
28 {% endif %}
29 </section>
30 {% endblock %}