+ {{ form_end(login) }}
+ </section>
+ {% if recover is defined %}
+ <section class="recover">
+ <h3>Recover</h3>
+ {{ form_start(recover) }}
+
+ <section>
+ {{ form_row(recover.mail) }}
+ </section>
+
+ {{ form_row(recover.submit) }}
+
+ {# Render CSRF token etc .#}
+ <footer style="display:none">
+ {{ form_rest(recover) }}
+ </footer>