X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/d7a420642db08edb589e885292442e58961b19dc..b9f1b602aea82b408825e3ea0896acf6aa856b76:/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) }}