engelsystem/resources/views/errors/403.twig

16 lines
476 B
Twig
Raw Normal View History

2018-11-13 17:47:19 +01:00
{% extends "errors/default.twig" %}
{% import 'macros/base.twig' as m %}
2018-11-13 17:47:19 +01:00
{% block title %}{{ __("Forbidden") }}{% endblock %}
{% block content_headline_text %}{{ __("You are not allowed to access this page") }}{% endblock %}
{% block content_text %}
{% if is_guest() %}
{% do session_set('previous_page', request.url) %}
<p>{{ __('page.403.login') }}</p>
2023-11-13 16:56:52 +01:00
<p>{{ m.button(__('general.login'), url('/login')) }}</p>
{% endif %}
{% endblock %}