X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/1476978ece976e1992e3914abff25e0822af90be..1e03b9bca33c3457074335594854a508592e5657:/Resources/views/security/denied.html.twig?ds=inline

diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig
index 51e5824..053a832 100644
--- a/Resources/views/security/denied.html.twig
+++ b/Resources/views/security/denied.html.twig
@@ -1,7 +1,8 @@
 {% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
 <section id="content">
-	<h2><a href="{{ path('rapsys_air') }}">{{ section }}</a></h2>
-	<p>{% if message %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}</p>
+	<h2><a href="{{ path('rapsys_air') }}">{{ title }}</a></h2>
+	<p>{% if message is defined %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}</p>
+	{% if is_granted('ROLE_ADMIN') %}{% if trace is defined %}<pre>{{ trace }}</pre>{% endif %}{% endif %}
 </section>
 {% endblock %}