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

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

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

{% translate "Application requires the following permissions" %}

{% endif %} {% if organisations|length > 1 %}

{% elif organisations|length == 1 %} {% endif %} {{ form.errors }} {{ form.non_field_errors }}
{% else %}

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

{{ error.description }}

{% endif %}
{% endblock %}