]> Raphaël G. Git Repositories - airbundle/commitdiff
Add optional session date field
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:17:14 +0000 (10:17 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:17:14 +0000 (10:17 +0200)
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>
                {{ 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) }}
                                        {{ form_row(forms.session.begin) }}
 
                                        {{ form_row(forms.session.length) }}