From: Raphaƫl Gertz Date: Thu, 29 Feb 2024 15:14:58 +0000 (+0100) Subject: Replace body with base template X-Git-Tag: 0.3.0~11 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/9766283440328e29ddc18b6ed9928eb4593d5c41?ds=sidebyside Replace body with base template New title layout --- diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig index 053a832..5ae63fb 100644 --- a/Resources/views/security/denied.html.twig +++ b/Resources/views/security/denied.html.twig @@ -1,7 +1,7 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %}
-

{{ title }}

+

{{ title.page }}

{% if message is defined %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}

{% if is_granted('ROLE_ADMIN') %}{% if trace is defined %}
{{ trace }}
{% endif %}{% endif %}