engelsystem/resources/views/errors/403.twig

16 lines
475 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-10-02 16:15:25 +02:00
<p>{{ m.button(__('general.login'), url('login')) }}</p>
{% endif %}
{% endblock %}