aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/templates
diff options
context:
space:
mode:
Diffstat (limited to 'gn_auth/templates')
-rw-r--r--gn_auth/templates/admin/register-client.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/gn_auth/templates/admin/register-client.html b/gn_auth/templates/admin/register-client.html
index daac977..5d525c5 100644
--- a/gn_auth/templates/admin/register-client.html
+++ b/gn_auth/templates/admin/register-client.html
@@ -13,9 +13,9 @@
<legend>Select client scope</legend>
{%for scp in scope%}
- <input name="scope[]" id="chk:{{scp}}"type="checkbox" value="{{scp}}"
+ <input name="scope[]" id="chk-{{scp}}"type="checkbox" value="{{scp}}"
{%if scp=="profile"%}checked="checked"{%endif%} />
- <label for="chk:{{scp}}">{{scp}}</label><br />
+ <label for="chk-{{scp}}">{{scp}}</label><br />
{%endfor%}
</fieldset>
@@ -24,20 +24,20 @@
<legend>Basic OAuth2 client information</legend>
- <label for="txt:client-name">Client name</label>
- <input name="client_name" type="text" id="txt:client-name"
+ <label for="txt-client-name">Client name</label>
+ <input name="client_name" type="text" id="txt-client-name"
required="required" />
<br /><br />
- <label for="txt:redirect-uri">Redirect URI</label>
- <input name="redirect_uri" type="text" id="txt:redirect-uri"
+ <label for="txt-redirect-uri">Redirect URI</label>
+ <input name="redirect_uri" type="text" id="txt-redirect-uri"
required="required" />
<br /><br />
- <label for="txt:other-redirect-uris">
+ <label for="txt-other-redirect-uris">
Other redirect URIs (Enter one URI per line)</label>
<br />
- <textarea name="other_redirect_uris" id="txt:other-redirect-uris"
+ <textarea name="other_redirect_uris" id="txt-other-redirect-uris"
cols="80" rows="10"
title="Enter one URI per line."></textarea>
<br /><br />
@@ -46,16 +46,16 @@
<input name="grants[]"
type="checkbox"
value="authorization_code"
- id="chk:authorization-code"
+ id="chk-authorization-code"
checked="checked" />
- <label for="chk:authorization-code">Authorization Code</label>
+ <label for="chk-authorization-code">Authorization Code</label>
<br /><br />
<input name="grants[]"
type="checkbox"
value="refresh_token"
- id="chk:refresh-token" />
- <label for="chk:refresh-token">Refresh Token</label>
+ id="chk-refresh-token" />
+ <label for="chk-refresh-token">Refresh Token</label>
</fieldset>
</fieldset>