]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover_mail.html.twig
Add support for label_html
[airbundle] / Resources / views / form / recover_mail.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 password is updated and an account recover message has been sent{% endtrans %}</p>
8 {% elseif not found %}
9 <p class="message error">{% trans %}Unable to find account{% endtrans %}</p>
10 {% else %}
11 {{ form_start(form) }}
12 <div>
13 {{ form_row(form.password) }}
14
15 {{ form_row(form.submit) }}
16 </div>
17
18 {# Render CSRF token etc .#}
19 <footer style="display:none">{{ form_rest(form) }}</footer>
20 {{ form_end(form) }}
21 {% endif %}
22 </section>
23 {% endblock %}