Add optional session date field
[airbundle] / Resources / views / form / _session.html.twig
index 1f0d3a0668d679c4161ca3b531419bc4939e2095..0d23a3647d174e1c6ca412d417408a74ce5c8cd9 100644 (file)
@@ -4,6 +4,10 @@
                {{ form_start(forms.session) }}
                        {% if forms.session.modify is defined %}
                                <div>
+                                       {% if forms.session.date is defined %}
+                                               {{ form_row(forms.session.date) }}
+                                       {% endif %}
+
                                        {{ form_row(forms.session.begin) }}
 
                                        {{ form_row(forms.session.length) }}