]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/application/add.html.twig
Add default values to class member variables
[airbundle] / Resources / views / application / add.html.twig
index 42acb0797f2569448692cbd5ce3339b80e0281b0..120eb94541ada407a665c3a44ec57244b068c331 100644 (file)
@@ -1,13 +1,18 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <section id="form">
 {% block content %}
        <section id="form">
-               <h2>{{ section }}</h2>
+               <header>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
+               </header>
                {{ form_start(form) }}
                        <div>
                                {% if form.user is defined %}
                                        {{ form_row(form.user) }}
                                {% endif %}
 
                {{ form_start(form) }}
                        <div>
                                {% if form.user is defined %}
                                        {{ form_row(form.user) }}
                                {% endif %}
 
+                               {{ form_row(form.dance) }}
+
                                {{ form_row(form.location) }}
 
                                {{ form_row(form.date) }}
                                {{ form_row(form.location) }}
 
                                {{ form_row(form.date) }}