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

授权 {{ application.name }} 访问你的帐户吗?

{% csrf_token %} {% if not application.is_official %}

{{ application.name }} 是由 @{{ application.user.handler }} 创建和维护的应用程序。 {{ site_name }}无法保证其安全性和有效性,请自行验证确认后再授权。

{% endif %} {% if application.url %}应用网址: {{ application.url | urlize }}{% endif %}

{{ application.description_html|safe }}

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

授权后这个应用将能读写你帐户的全部数据。

{% comment %}

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

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

Error: {{ error.error }}

{{ error.description }}

{% endif %}
{% endblock %}