From: Raphaƫl Gertz Date: Thu, 29 Feb 2024 15:08:52 +0000 (+0100) Subject: Replace body with base template X-Git-Tag: 0.3.0~13 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/e9ddea0dcc150da1a160092f5bb3d9e37e8468b3 Replace body with base template New titles layout --- 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) }}