]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_session.html.twig
Use full entity name instead of undefined short version
[airbundle] / Resources / views / form / _session.html.twig
index 0d23a3647d174e1c6ca412d417408a74ce5c8cd9..48aceab3fad678e599f98aaf593442762d6e932e 100644 (file)
@@ -1,9 +1,19 @@
 {% 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>
 {% 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>
                {{ 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 %}
                                        {% if forms.session.date is defined %}
                                                {{ form_row(forms.session.date) }}
                                        {% endif %}