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