]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_session.html.twig
Shorten bundle alias
[airbundle] / Resources / views / form / _session.html.twig
index 1f0d3a0668d679c4161ca3b531419bc4939e2095..48aceab3fad678e599f98aaf593442762d6e932e 100644 (file)
@@ -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') %}
        <section>
-               <h2>{% trans %}Modify{% endtrans %}</h2>
+               <header>
+                       <h3>{% trans %}Modify{% endtrans %}</h3>
+               </header>
                {{ 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 %}
+
                                        {{ form_row(forms.session.begin) }}
 
                                        {{ form_row(forms.session.length) }}