X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/b8024b225dacfeb78cdc7bb6277db8d568a608e1..22ab06ae0ac4b9be42a4b9203341ed17b42d70d6:/Resources/views/form/login.html.twig diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig index cdfeca5..8dd5efa 100644 --- a/Resources/views/form/login.html.twig +++ b/Resources/views/form/login.html.twig @@ -1,23 +1,28 @@ {% extends '@RapsysAir/body.html.twig' %} +{% block title %}{{ site.title }} - {{ title }}{% endblock %} {% block content %} - <section id="form"> - <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2> + <article id="form"> + <header> + <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2> + </header> {{ form_start(login) }} - <section> + <div> {{ form_row(login.mail) }} {{ form_row(login.password) }} {{ form_row(login.submit) }} - </section> + </div> {# Render CSRF token etc .#} <footer style="display:none">{{ form_rest(login) }}</footer> {{ form_end(login) }} - </section> + </article> {% if recover is defined %} - <section id="recover"> - <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2> + <article id="recover"> + <header> + <h2><a href="{{ path('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2> + </header> {{ form_start(recover) }} <div> @@ -29,6 +34,6 @@ {# Render CSRF token etc .#} <footer style="display:none">{{ form_rest(recover) }}</footer> {{ form_end(recover) }} - </section> + </article> {% endif %} {% endblock %}