{% load i18n %} {% block pre_login %}
{% csrf_token %} {% endblock %}
{% block login_header %} {% endblock %}
{% block login_body %} {% include "auth/_description.html" %}
{% if request.user.is_authenticated and 'next' in request.GET %}

{% trans "You do not have permission to access the resource:" %}

{{ request.GET.next }}

{% url 'horizon:user_home' as home_url %} {% blocktrans %} Login as different user or go back to home page {% endblocktrans %}

{% endif %} {% if request.COOKIES.logout_reason %}

{{ request.COOKIES.logout_reason }}

{% endif %} {% if next %} {% endif %} {% include "horizon/common/_form_fields.html" %}
{% endblock %} {% block login_footer %} {% comment %} Сlass 'panel_footer' is needed to pass openstack integration tests. {% endcomment %} {% endblock %}
{% block post_login%}
{% endblock %}