From e9ddea0dcc150da1a160092f5bb3d9e37e8468b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 29 Feb 2024 16:08:52 +0100 Subject: [PATCH] Replace body with base template New titles layout --- Resources/views/session/edit.html.twig | 2 +- Resources/views/session/index.html.twig | 5 +++-- Resources/views/session/view.html.twig | 5 +++-- Resources/views/snippet/add.html.twig | 7 +++++-- Resources/views/snippet/edit.html.twig | 7 +++++-- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/Resources/views/session/edit.html.twig b/Resources/views/session/edit.html.twig index 6a9abfb..4ec1b67 100644 --- a/Resources/views/session/edit.html.twig +++ b/Resources/views/session/edit.html.twig @@ -1,4 +1,4 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %}
diff --git a/Resources/views/session/index.html.twig b/Resources/views/session/index.html.twig index 62cc1c5..9c47879 100644 --- a/Resources/views/session/index.html.twig +++ b/Resources/views/session/index.html.twig @@ -1,8 +1,9 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %}
-

{{ description }}

+

{{ title.page }}

+

{{ description }}

{% if calendar is defined and calendar %} diff --git a/Resources/views/session/view.html.twig b/Resources/views/session/view.html.twig index 1466a96..2520555 100644 --- a/Resources/views/session/view.html.twig +++ b/Resources/views/session/view.html.twig @@ -1,8 +1,9 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %}
-

{{ description }}

+

{{ title.page }}

+

{{ description }}

diff --git a/Resources/views/snippet/add.html.twig b/Resources/views/snippet/add.html.twig index fddf9a3..741be09 100644 --- a/Resources/views/snippet/add.html.twig +++ b/Resources/views/snippet/add.html.twig @@ -1,7 +1,10 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %}
-

{{ section }}

+
+

{{ title.page }}

+

{{ description }}

+
{{ form_start(form) }}
{{ form_row(form.description) }} diff --git a/Resources/views/snippet/edit.html.twig b/Resources/views/snippet/edit.html.twig index fddf9a3..741be09 100644 --- a/Resources/views/snippet/edit.html.twig +++ b/Resources/views/snippet/edit.html.twig @@ -1,7 +1,10 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %}
-

{{ section }}

+
+

{{ title.page }}

+

{{ description }}

+
{{ form_start(form) }}
{{ form_row(form.description) }} -- 2.41.1