{% extends "login/base.html" %} {% load utils %} {% load i18n %} {% block title %} {% title 'Authorize Application' %} {% endblock %} {% block card %}

{% trans 'Authorize Application' %}

{% csrf_token %} {% if not error %} {% csrf_token %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% endif %} {% endfor %}

{% blocktrans with remote=application.name %} You're about to sign into {{ remote }} {% endblocktrans %}

{% trans "Application requires following permissions" %}

{{ form.errors }} {{ form.non_field_errors }}

{% blocktrans with user=user %} You are logged in as {{ user }}. Not you? {% endblocktrans %} {% trans 'Logout' %}

{% else %}

{% blocktrans with err=error.error %}Error: {{ err }}{% endblocktrans %}

{{ error.description }}

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}