{% extends 'global.html'%} {% block title %}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">You will be redirected in 5 seconds</p><p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">Go Back</a></p> {% endif %} {% endblock maincontent %}