- {# Render CSRF token etc .#}
- <footer style="display:none">
- {{ form_rest(login) }}
- </footer>
- {{ form_end(login) }}
- </section>
- {% if recover is defined %}
- <section>
- <h3>Recover</h3>
- {{ form_start(recover) }}
-
- <section>
- {{ form_row(recover.mail) }}
+ {# Render CSRF token etc .#}
+ <footer style="display:none">{{ form_rest(login) }}</footer>
+ {{ form_end(login) }}
+ </section>
+ {% if recover is defined %}
+ <section id="recover">
+ <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
+ {{ form_start(recover) }}