From dfa68a0041d5d9ffc0d58929f69c4e82bcd61ddd Mon Sep 17 00:00:00 2001 From: Romain Lebbadi-Breteau <romain@lebbadi.fr> Date: Sun, 13 Feb 2022 03:34:38 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20Faneva's=20bullshit=20=F0=9F=8E=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/packages/twig.yaml | 3 ++- templates/sign_up/index.html.twig | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 7178fc4a..3be7d524 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -1,6 +1,7 @@ twig: default_path: '%kernel.project_dir%/templates' + form_themes: ['bootstrap_5_layout.html.twig'] when@test: twig: - form_themes: ['bootstrap_5_layout.html.twig'] \ No newline at end of file + strict_variables: true diff --git a/templates/sign_up/index.html.twig b/templates/sign_up/index.html.twig index 27ef1a39..49736a52 100644 --- a/templates/sign_up/index.html.twig +++ b/templates/sign_up/index.html.twig @@ -4,6 +4,8 @@ {% block body %} - +<div class="container"> {{ form(form) }} +</div> + {% endblock %} -- GitLab