]> Raphaël G. Git Repositories - airbundle/commitdiff
Add security denied template
authorRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:57:44 +0000 (23:57 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 14 Nov 2019 22:58:23 +0000 (23:58 +0100)
Resources/views/security/denied.html.twig [new file with mode: 0644]

diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig
new file mode 100644 (file)
index 0000000..4dbd719
--- /dev/null
@@ -0,0 +1,7 @@
+{% extends '@RapsysAir/base.html.twig' %}
+{% block content %}
+<section id="content">
+       <h2><a href="{{ path('rapsys_air_homepage') }}">{{ section }}</a></h2>
+       <p>{% if message %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}</p>
+</section>
+{% endblock %}