]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover.html.twig
Add policy rules
[airbundle] / Resources / views / form / recover.html.twig
1 {% extends '@RapsysAir/base.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 recover account message has been sent{% endtrans %}</p>
7 {% else %}
8 <div>
9 {{ form_start(form) }}
10
11 <header>{{ form_errors(form) }}</header>
12
13 <section>
14 {{ form_row(form.mail) }}
15 </section>
16
17 {{ form_row(form.submit) }}
18
19 {# Render CSRF token etc .#}
20 <footer style="display:none">
21 {{ form_rest(form) }}
22 </footer>
23
24 {{ form_end(form) }}
25 </div>
26 {% endif %}
27 </section>
28 {% endblock %}