]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover.html.twig
Replace dropped calls with checker, factory and security replacements
[airbundle] / Resources / views / form / recover.html.twig
1 {% extends '@RapsysAir/body.html.twig' %}
2 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
3 {% block content %}
4 <article>
5 <header>
6 <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
7 </header>
8 {% if sent %}
9 <p class="message notice">{% trans %}Your recover account message has been sent{% endtrans %}</p>
10 {% else %}
11 {{ form_start(form) }}
12 <div>
13 {% if form.mail is defined %}
14 {{ form_row(form.mail) }}
15 {% endif %}
16
17 {% if form.password is defined %}
18 {{ form_row(form.password) }}
19 {% endif %}
20
21 {{ form_row(form.submit) }}
22 </div>
23
24 {# Render CSRF token etc .#}
25 <footer style="display:none">{{ form_rest(form) }}</footer>
26 {{ form_end(form) }}
27 {% endif %}
28 </article>
29 {% endblock %}