]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/views/snippet/add.html.twig
Protect from getLocale call on empty request happening in console commands
[airbundle] / Resources / views / snippet / add.html.twig
index fddf9a34c183ce2647bff1d188ff9294ab3ef5c5..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) }}