Remove tabs in authorize template.
This commit is contained in:
parent
9280e8bff6
commit
b79c68fd7b
1 changed files with 14 additions and 14 deletions
|
@ -3,25 +3,25 @@
|
||||||
<p>Client <strong>{{ client.name }}</strong> would like to access this information of you ...</p>
|
<p>Client <strong>{{ client.name }}</strong> would like to access this information of you ...</p>
|
||||||
|
|
||||||
<form method="post" action="{% url 'openid_provider:authorize' %}">
|
<form method="post" action="{% url 'openid_provider:authorize' %}">
|
||||||
|
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
<input name="client_id" type="hidden" value="{{ params.client_id }}" />
|
<input name="client_id" type="hidden" value="{{ params.client_id }}" />
|
||||||
<input name="redirect_uri" type="hidden" value="{{ params.redirect_uri }}" />
|
<input name="redirect_uri" type="hidden" value="{{ params.redirect_uri }}" />
|
||||||
<input name="response_type" type="hidden" value="{{ params.response_type }}" />
|
<input name="response_type" type="hidden" value="{{ params.response_type }}" />
|
||||||
<input name="scope" type="hidden" value="{{ params.scope_str }}" />
|
<input name="scope" type="hidden" value="{{ params.scope_str }}" />
|
||||||
<input name="state" type="hidden" value="{{ params.state }}" />
|
<input name="state" type="hidden" value="{{ params.state }}" />
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for scope in params.scope %}
|
{% for scope in params.scope %}
|
||||||
{% if scope != 'openid' %}
|
{% if scope != 'openid' %}
|
||||||
<li>{{ scope | capfirst }}</li>
|
<li>{{ scope | capfirst }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<input type="submit" value="Decline" />
|
<input type="submit" value="Decline" />
|
||||||
<input name="allow" type="submit" value="Authorize" />
|
<input name="allow" type="submit" value="Authorize" />
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue