{% extends "main_django.html" %} {% load i18n configuration %} {% block title %} {% trans "Authorize" %} | {% platform_name %} {% endblock %} {% block body %}
{% if not error %}

{% trans "Authorize" %} {{ application.name }}?

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

{% trans "The above application requests the following permissions from your account:" %}

    {% for scope in scopes_descriptions %}
  • {{ scope }}
  • {% endfor %}

{% trans "Please click the 'Allow' button to grant these permissions to the above application. Otherwise, to withhold these permissions, please click the 'Cancel' button." %}

{{ form.errors }} {{ form.non_field_errors }}
{% else %}

{% trans "Error" %}: {{ error.error }}

{{ error.description }}

{% endif %}
{% endblock %}