{% extends 'global.html'%}
{% load i18n %}

{% block title %}{% trans 'Forbidden' %}{% endblock %}

{% block additional_head %}
{% if request.META.HTTP_REFERER %}
    <meta http-equiv="refresh" content="5;url={{ request.META.HTTP_REFERER }}" />
{% endif %}
{% endblock additional_head %}

{% block maincontent %}
{% if request.META.HTTP_REFERER %}
    <p class="LP-Headline">{% trans 'You will be redirected in 5 seconds' %}</p><p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">{% trans 'Go Back' %}</a></p>
{% endif %}
{% endblock maincontent %}