]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/login.html.twig
Reverse subscriber/subscription owning side
[airbundle] / Resources / views / form / login.html.twig
index 927c24370000e09b3eb3896f7b1807a6f45ac0b0..8dd5efaee9f526abd57680d7423e0fea4058325e 100644 (file)
@@ -1,8 +1,10 @@
 {% extends '@RapsysAir/body.html.twig' %}
 {% block title %}{{ site.title }} - {{ title }}{% endblock %}
 {% block content %}
 {% 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) }}
                        <div>
                                {{ form_row(login.mail) }}
                {{ form_start(login) }}
                        <div>
                                {{ form_row(login.mail) }}
                        {# Render CSRF token etc .#}
                        <footer style="display:none">{{ form_rest(login) }}</footer>
                {{ form_end(login) }}
                        {# Render CSRF token etc .#}
                        <footer style="display:none">{{ form_rest(login) }}</footer>
                {{ form_end(login) }}
-       </section>
+       </article>
        {% if recover is defined %}
        {% 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>
                        {{ form_start(recover) }}
 
                                <div>
@@ -30,6 +34,6 @@
                                {# Render CSRF token etc .#}
                                <footer style="display:none">{{ form_rest(recover) }}</footer>
                        {{ form_end(recover) }}
                                {# Render CSRF token etc .#}
                                <footer style="display:none">{{ form_rest(recover) }}</footer>
                        {{ form_end(recover) }}
-               </section>
+               </article>
        {% endif %}
 {% endblock %}
        {% endif %}
 {% endblock %}