cleaned up dynreg self-service page to account for single-selection of grant types
parent
04f7a698ea
commit
22ab1173a7
|
@ -232,23 +232,19 @@
|
|||
|
||||
<div class="controls">
|
||||
|
||||
<label class="checkbox">
|
||||
<input id="grantTypes-authorization_code" type="checkbox"
|
||||
<label class="radio">
|
||||
<input id="grantTypes-authorization_code" type="radio" name="grantTypes"
|
||||
<%=($.inArray("authorization_code", client.grant_types) > -1 ? 'checked' : '')%>>
|
||||
authorization code
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input id="grantTypes-client_credentials" type="checkbox"
|
||||
<label class="radio">
|
||||
<input id="grantTypes-client_credentials" type="radio" name="grantTypes"
|
||||
<%=($.inArray("client_credentials", client.grant_types) > -1 ? 'checked' : '')%>> client credentials
|
||||
</label>
|
||||
<label class="checkbox">
|
||||
<input id="grantTypes-implicit" type="checkbox" <%=($.inArray("implicit", client.grant_types) > -1 ? 'checked' : '')%>> implicit
|
||||
<label class="radio">
|
||||
<input id="grantTypes-implicit" type="radio" name="grantTypes"
|
||||
<%=($.inArray("implicit", client.grant_types) > -1 ? 'checked' : '')%>> implicit
|
||||
</label>
|
||||
<!--
|
||||
<label class="checkbox">
|
||||
<input id="grantTypes-refresh_token" type="checkbox" <%=($.inArray("refresh_token", client.grant_types) > -1 ? 'checked' : '')%>> refresh
|
||||
</label>
|
||||
-->
|
||||
<label class="checkbox">
|
||||
<input id="grantTypes-redelegate" type="checkbox" <%=($.inArray("urn:ietf:params:oauth:grant_type:redelegate", client.grant_types) > -1 ? 'checked' : '')%>> redelegate
|
||||
</label>
|
||||
|
|
Loading…
Reference in New Issue