X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/d7a420642db08edb589e885292442e58961b19dc..3bb7706790b4f955cfbc412ee65c4a620c15d5b0:/Resources/views/form/_session.html.twig diff --git a/Resources/views/form/_session.html.twig b/Resources/views/form/_session.html.twig index 1f0d3a0..48aceab 100644 --- a/Resources/views/form/_session.html.twig +++ b/Resources/views/form/_session.html.twig @@ -1,9 +1,23 @@ {% if forms.session.modify is defined or forms.session.move is defined or forms.session.cancel is defined or forms.session.raincancel is defined or forms.session.forcecancel is defined or is_granted('ROLE_ADMIN') %}
-

{% trans %}Modify{% endtrans %}

+
+

{% trans %}Modify{% endtrans %}

+
{{ form_start(forms.session) }} {% if forms.session.modify is defined %}
+ {% 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 %} + {{ form_row(forms.session.begin) }} {{ form_row(forms.session.length) }}