X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/987ff94ba79b4aa46ec1817a5a5f4a8360416f65..f9240cc5131b9e373cd45906a0564dbb92fd72d5:/Resources/views/form/login.html.twig?ds=inline

diff --git a/Resources/views/form/login.html.twig b/Resources/views/form/login.html.twig
index a9a1daa..8dd5efa 100644
--- a/Resources/views/form/login.html.twig
+++ b/Resources/views/form/login.html.twig
@@ -1,41 +1,39 @@
 {% 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>
-		<section>
-			{{ form_start(login) }}
-				<section>
-					{{ form_row(login.mail) }}
+	<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_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) }}
-
-					<section>
-						{{ form_row(recover.mail) }}
+			{# 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('rapsys_user_recover') }}">{% trans %}Recover{% endtrans %}</a></h2>
+			</header>
+			{{ form_start(recover) }}
 
-						{{ form_row(recover.submit) }}
-					</section>
+				<div>
+					{{ form_row(recover.mail) }}
 
-					{# Render CSRF token etc .#}
-					<footer style="display:none">
-						{{ form_rest(recover) }}
-					</footer>
+					{{ form_row(recover.submit) }}
+				</div>
 
-				{{ form_end(recover) }}
-			</section>
-		{% endif %}
-	</section>
+				{# Render CSRF token etc .#}
+				<footer style="display:none">{{ form_rest(recover) }}</footer>
+			{{ form_end(recover) }}
+		</article>
+	{% endif %}
 {% endblock %}