]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/form/_login.html.twig
Convert every optional field as toggleable
[airbundle] / Resources / views / form / _login.html.twig
1 <section>
2 <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2>
3 {{ form_start(forms.login) }}
4 <div>
5 {{ form_row(forms.login.mail) }}
6
7 {{ form_row(forms.login.password) }}
8
9 {{ form_row(forms.login.submit) }}
10 </div>
11
12 {# Render CSRF token etc .#}
13 <footer style="display:none">{{ form_rest(forms.login) }}</footer>
14 {{ form_end(forms.login) }}
15 </section>