]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_session.html.twig
Add locales field which will store a copy of kernel.translator.fallbacks
[airbundle] / Resources / views / form / _session.html.twig
index 1f0d3a0668d679c4161ca3b531419bc4939e2095..6d56b13006dd233a756a3551b11f6405622a4e19 100644 (file)
@@ -1,9 +1,15 @@
 {% 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.date is defined %}
+                                               {{ form_row(forms.session.date) }}
+                                       {% endif %}
+
                                        {{ form_row(forms.session.begin) }}
 
                                        {{ form_row(forms.session.length) }}