engelsystem/resources/views/errors/403.twig

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
473 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>
<p>{{ m.button(__('login.login'), url('login')) }}</p>
{% endif %}
{% endblock %}