--- /dev/null
+{% extends '@RapsysAir/body.html.twig' %}
+{% block content %}
+ <section id="form">
+ <h2>{{ section }}</h2>
+ {{ form_start(form) }}
+ <div>
+ {% if form.user is defined %}
+ {{ form_row(form.user) }}
+ {% endif %}
+
+ {{ form_row(form.location) }}
+
+ {{ form_row(form.date) }}
+
+ {{ form_row(form.slot) }}
+
+ {{ form_row(form.submit) }}
+ </div>
+
+ {# render csrf token etc .#}
+ <footer style="display:none">{{ form_rest(form) }}</footer>
+ {{ form_end(form) }}
+ </section>
+{% endblock %}