]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover.html.twig
Add session controller with view function
[airbundle] / Resources / views / form / recover.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 class="notice">{% trans %}Your recover account message has been sent{% endtrans %}</p>
7 {% else %}
8 <section>
9 {{ form_start(form) }}
10 <section>
11 {{ form_row(form.mail) }}
12 </section>
13
14 {{ form_row(form.submit) }}
15
16 {# Render CSRF token etc .#}
17 <footer style="display:none">
18 {{ form_rest(form) }}
19 </footer>
20 {{ form_end(form) }}
21 </section>
22 {% endif %}
23 </section>
24 {% endblock %}