--- /dev/null
+{{ 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) }}
--- /dev/null
+{{ form_start(login) }}
+
+ <section>
+ {{ form_row(login.mail) }}
+
+ {{ form_row(login.password) }}
+ </section>
+
+ {{ form_row(login.submit) }}
+
+ {# Render CSRF token etc .#}
+ <footer style="display:none">
+ {{ form_rest(login) }}
+ </footer>
+
+{{ form_end(login) }}