{% extends "base.html" %} {% load i18n %} {% block content %} {% if not error %}

{% blocktranslate trimmed with app_name=application.name %} Authorize {{ app_name }}? {% endblocktranslate %}

{% csrf_token %} {# pass query params through the submit process for saving #} {% for field in form %} {% if field.is_hidden %} {{ field }} {% endif %} {% endfor %}

{% translate "The application requires the following permissions:" %}

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

Error: {{ error.error }}

{{ error.description }}

{% endif %} {% endblock %}