]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_application.html.twig
Add sql requests
[airbundle] / Resources / views / form / _application.html.twig
index b165790a2c54a07d4cf0dbad15ade17012536792..127ca8cbc237734b78f774dee21c453a4d0ac2ee 100644 (file)
@@ -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(application) }}
+               <div>
+                       {% if application.user is defined %}
+                               {{ form_row(application.user) }}
+                       {% endif %}
 
-               {{ form_row(application.location) }}
+                       {{ form_row(application.location) }}
 
-               {{ form_row(application.date) }}
+                       {{ form_row(application.date) }}
 
-               {{ form_row(application.slot) }}
-       </section>
+                       {{ form_row(application.slot) }}
 
-       {{ form_row(application.submit) }}
+                       {{ form_row(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(application) }}</footer>
+       {{ form_end(application) }}
+</section>