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