]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/form/_application.html.twig
Add support for label_html
[airbundle] / Resources / views / form / _application.html.twig
index 127ca8cbc237734b78f774dee21c453a4d0ac2ee..eb84c6060e19699197433832412c042ef2cf9ef2 100644 (file)
@@ -1,21 +1,25 @@
 <section>
 <section>
-       <h2>{% trans %}Application{% endtrans %}</h2>
-       {{ form_start(application) }}
+       <header>
+               <h3>{% trans %}Application{% endtrans %}</h3>
+       </header>
+       {{ form_start(forms.application) }}
                <div>
                <div>
-                       {% if application.user is defined %}
-                               {{ form_row(application.user) }}
+                       {% if forms.application.user is defined %}
+                               {{ form_row(forms.application.user) }}
                        {% endif %}
 
                        {% endif %}
 
-                       {{ form_row(application.location) }}
+                       {{ form_row(forms.application.dance) }}
 
 
-                       {{ form_row(application.date) }}
+                       {{ form_row(forms.application.location) }}
 
 
-                       {{ form_row(application.slot) }}
+                       {{ form_row(forms.application.date) }}
 
 
-                       {{ form_row(application.submit) }}
+                       {{ form_row(forms.application.slot) }}
+
+                       {{ form_row(forms.application.submit) }}
                </div>
 
                {# render csrf token etc .#}
                </div>
 
                {# render csrf token etc .#}
-               <footer style="display:none">{{ form_rest(application) }}</footer>
-       {{ form_end(application) }}
+               <footer style="display:none">{{ form_rest(forms.application) }}</footer>
+       {{ form_end(forms.application) }}
 </section>
 </section>