]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/recover_mail.html.twig
Rename pack and user bundle aliases
[airbundle] / Resources / views / form / recover_mail.html.twig
1 {% extends '@RapsysAir/base.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 {{ form_start(form) }}
11 <div>
12 {{ form_row(form.password) }}
13
14 {{ form_row(form.submit) }}
15 </div>
16
17 {# Render CSRF token etc .#}
18 <footer style="display:none">{{ form_rest(form) }}</footer>
19 {{ form_end(form) }}
20 {% endif %}
21 </section>
22 {% endblock %}