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

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

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

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

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

Error: {{ error.error }}

{{ error.description }}

{% endif %} {% endblock %}