]> Raphaël G. Git Repositories - airbundle/commitdiff
Add dance and slot to session edit form
authorRaphaël Gertz <git@rapsys.eu>
Wed, 21 Feb 2024 11:39:04 +0000 (12:39 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 21 Feb 2024 11:39:04 +0000 (12:39 +0100)
Resources/views/form/_session.html.twig

index 6d56b13006dd233a756a3551b11f6405622a4e19..48aceab3fad678e599f98aaf593442762d6e932e 100644 (file)
@@ -6,6 +6,14 @@
                {{ form_start(forms.session) }}
                        {% if forms.session.modify is defined %}
                                <div>
+                                       {% if forms.session.dance is defined %}
+                                               {{ form_row(forms.session.dance) }}
+                                       {% endif %}
+
+                                       {% if forms.session.slot is defined %}
+                                               {{ form_row(forms.session.slot) }}
+                                       {% endif %}
+
                                        {% if forms.session.date is defined %}
                                                {{ form_row(forms.session.date) }}
                                        {% endif %}