]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_application.html.twig
Add recover and login form fragments
[airbundle] / Resources / views / form / _application.html.twig
diff --git a/Resources/views/form/_application.html.twig b/Resources/views/form/_application.html.twig
new file mode 100644 (file)
index 0000000..b165790
--- /dev/null
@@ -0,0 +1,20 @@
+{{ form_start(application) }}
+       <section>
+               {% if application.user is defined %}
+                       {{ form_row(application.user) }}
+               {% endif %}
+
+               {{ form_row(application.location) }}
+
+               {{ form_row(application.date) }}
+
+               {{ form_row(application.slot) }}
+       </section>
+
+       {{ form_row(application.submit) }}
+
+       {# Render CSRF token etc .#}
+       <footer style="display:none">
+               {{ form_rest(application) }}
+       </footer>
+{{ form_end(application) }}