]> Raphaël G. Git Repositories - airbundle/commitdiff
Replace body with base template
authorRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 15:16:31 +0000 (16:16 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 15:16:31 +0000 (16:16 +0100)
New title layout

Resources/views/application/add.html.twig

index b6239deadde46211e234de94d45a42d6e49a265b..120eb94541ada407a665c3a44ec57244b068c331 100644 (file)
@@ -1,7 +1,10 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <section id="form">
-               <h2>{{ title }}</h2>
+               <header>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
+               </header>
                {{ form_start(form) }}
                        <div>
                                {% if form.user is defined %}