X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/c5576c3388507075d79944120d610e9692d91da6..c1837dbbb99ef2c4ce2ad04ff967aa936a26e4db:/Resources/views/form/_application.html.twig?ds=inline

diff --git a/Resources/views/form/_application.html.twig b/Resources/views/form/_application.html.twig
index b165790..c36ba3c 100644
--- a/Resources/views/form/_application.html.twig
+++ b/Resources/views/form/_application.html.twig
@@ -1,20 +1,21 @@
-{{ form_start(application) }}
-	<section>
-		{% if application.user is defined %}
-			{{ form_row(application.user) }}
-		{% endif %}
+<section>
+	<h2>{% trans %}Application{% endtrans %}</h2>
+	{{ form_start(forms.application) }}
+		<div>
+			{% if forms.application.user is defined %}
+				{{ form_row(forms.application.user) }}
+			{% endif %}
 
-		{{ form_row(application.location) }}
+			{{ form_row(forms.application.location) }}
 
-		{{ form_row(application.date) }}
+			{{ form_row(forms.application.date) }}
 
-		{{ form_row(application.slot) }}
-	</section>
+			{{ form_row(forms.application.slot) }}
 
-	{{ form_row(application.submit) }}
+			{{ form_row(forms.application.submit) }}
+		</div>
 
-	{# Render CSRF token etc .#}
-	<footer style="display:none">
-		{{ form_rest(application) }}
-	</footer>
-{{ form_end(application) }}
+		{# render csrf token etc .#}
+		<footer style="display:none">{{ form_rest(forms.application) }}</footer>
+	{{ form_end(forms.application) }}
+</section>