X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/0dce2e10596c1763fa2a802b71c750013deb9e85..fe30a995fbdef62bbb9c99c390baf065a6f35040:/Resources/views/form/register.html.twig

diff --git a/Resources/views/form/register.html.twig b/Resources/views/form/register.html.twig
index 740abb0..2275ea9 100644
--- a/Resources/views/form/register.html.twig
+++ b/Resources/views/form/register.html.twig
@@ -3,22 +3,17 @@
 	<section id="form">
 		<h2>{{ title|trans }}</h2>
 		{% if sent %}
-			<p>{% trans %}Your account has been created{% endtrans %}</p>
+			<p class="message notice">{% trans %}Your account has been created{% endtrans %}</p>
 		{% else %}
-			<div>
+			<section>
 				{{ form_start(form) }}
-
-					<header>{{ form_errors(form) }}</header>
-
 					<section>
 						{{ form_row(form.mail) }}
 
 						{{ form_row(form.password.first) }}
 
 						{{ form_row(form.password.second) }}
-					</section>
 
-					<section>
 						{{ form_row(form.title) }}
 
 						{{ form_row(form.forename) }}
@@ -36,9 +31,8 @@
 					<footer style="display:none">
 						{{ form_rest(form) }}
 					</footer>
-
 				{{ form_end(form) }}
-			</div>
+			</section>
 		{% endif %}
 	</section>
 {% endblock %}