]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/snippet/edit.html.twig
Add default values to class member variables
[airbundle] / Resources / views / snippet / edit.html.twig
index a43fa887bf883f079eea1347318515c8e43961b4..741be09b6f1b60dbcfd33cfb4269a1458c8f1146 100644 (file)
@@ -1,7 +1,10 @@
-{% 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.short) }}
 
 
                                {{ form_row(form.short) }}
 
+                               {{ form_row(form.rate) }}
+
+                               {{ form_row(form.hat) }}
+
                                {{ form_row(form.contact) }}
 
                                {{ form_row(form.donate) }}
                                {{ form_row(form.contact) }}
 
                                {{ form_row(form.donate) }}