engelsystem/resources/views/errors/403.twig

16 lines
459 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
2023-11-24 16:20:12 +01:00
{% block title %}{{ __('page.403.title') }}{% endblock %}
2018-11-13 17:47:19 +01:00
2023-11-24 16:20:12 +01:00
{% block content_headline_text %}{{ __('page.403.headline') }}{% 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 %}