]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/login.html.twig
Fix header comment
[airbundle] / Resources / views / form / login.html.twig
index 20058778ca67e64d71f270797a9d8f3ca05ba6c0..54855c327feca97a2cfabcc30f626e17113f6687 100644 (file)
@@ -1,41 +1,38 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
-       <section id="form">
-               <h2><a href="{{ path('rapsys_user_login') }}">{% trans %}Login{% endtrans %}</a></h2>
-               <section>
-                       {{ form_start(login) }}
-                               <section>
-                                       {{ form_row(login.mail) }}
+       <article id="form">
+               <header>
+                       <h2><a href="{{ path('rapsysuser_login') }}">{% trans %}Login{% endtrans %}</a></h2>
+               </header>
+               {{ form_start(login) }}
+                       <div>
+                               {{ form_row(login.mail) }}
 
-                                       {{ form_row(login.password) }}
-                               </section>
+                               {{ form_row(login.password) }}
 
                                {{ form_row(login.submit) }}
+                       </div>
 
-                               {# Render CSRF token etc .#}
-                               <footer style="display:none">
-                                       {{ form_rest(login) }}
-                               </footer>
-                       {{ form_end(login) }}
-               </section>
-               {% if recover is defined %}
-                       <section class="recover">
-                               <h3>Recover</h3>
-                               {{ form_start(recover) }}
+                       {# Render CSRF token etc .#}
+                       <footer style="display:none">{{ form_rest(login) }}</footer>
+               {{ form_end(login) }}
+       </article>
+       {% if recover is defined %}
+               <article id="recover">
+                       <header>
+                               <h2><a href="{{ path('rapsysuser_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
+                       </header>
+                       {{ form_start(recover) }}
 
-                                       <section>
-                                               {{ form_row(recover.mail) }}
-                                       </section>
+                               <div>
+                                       {{ form_row(recover.mail) }}
 
                                        {{ form_row(recover.submit) }}
+                               </div>
 
-                                       {# Render CSRF token etc .#}
-                                       <footer style="display:none">
-                                               {{ form_rest(recover) }}
-                                       </footer>
-
-                               {{ form_end(recover) }}
-                       </section>
-               {% endif %}
-       </section>
+                               {# Render CSRF token etc .#}
+                               <footer style="display:none">{{ form_rest(recover) }}</footer>
+                       {{ form_end(recover) }}
+               </article>
+       {% endif %}
 {% endblock %}