]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/snippet/edit.html.twig
Add dance and subscription fields
[airbundle] / Resources / views / snippet / edit.html.twig
index 75bf3561ba6f1b967be699b52d0ab4a08cd24a35..741be09b6f1b60dbcfd33cfb4269a1458c8f1146 100644 (file)
@@ -1,11 +1,32 @@
-{% 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>
                                {{ form_row(form.description) }}
 
                {{ form_start(form) }}
                        <div>
                                {{ form_row(form.description) }}
 
+                               {{ form_row(form.class) }}
+
+                               {{ form_row(form.short) }}
+
+                               {{ form_row(form.rate) }}
+
+                               {{ form_row(form.hat) }}
+
+                               {{ form_row(form.contact) }}
+
+                               {{ form_row(form.donate) }}
+
+                               {{ form_row(form.link) }}
+
+                               {{ form_row(form.profile) }}
+
+                               {{ form_row(form.image) }}
+
                                {{ form_row(form.submit) }}
 
                                {% if form.delete is defined %}
                                {{ form_row(form.submit) }}
 
                                {% if form.delete is defined %}