]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover.html.twig
Use new form name
[airbundle] / Resources / views / form / recover.html.twig
1 {% extends '@RapsysAir/base.html.twig' %}
2 {% block content %}
3 <article>
4 <header>
5 <h2><a href="{{ path('rapsysuser_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
6 </header>
7 {% if sent %}
8 <p class="message notice">{% trans %}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 </article>
28 {% endblock %}