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