-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.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('rapsysair') }}">{{ title.page }}</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 %}