restored restricted grant type behavior on dynamic registration page (was lost in translation)

pull/779/head
Justin Richer 2015-02-18 22:01:50 -05:00
parent 6a41e98474
commit 19879c20c2
1 changed files with 6 additions and 6 deletions

View File

@ -221,21 +221,21 @@
<div class="controls"> <div class="controls">
<div> <div>
<input id="grantTypes-authorization_code" type="checkbox" name="grantTypes" <input id="grantTypes-authorization_code" type="radio" name="grantTypes"
<%-($.inArray("authorization_code", client.grant_types) > -1 ? 'checked' : '')%>> <%-($.inArray("authorization_code", client.grant_types) > -1 ? 'checked' : '')%>>
<label for="grantTypes-authorization_code" class="checkbox" data-i18n="client.client-form.authorization-code">authorization code</label> <label for="grantTypes-authorization_code" class="radio" data-i18n="client.client-form.authorization-code">authorization code</label>
</div> </div>
<div> <div>
<input id="grantTypes-client_credentials" type="checkbox" name="grantTypes" <input id="grantTypes-client_credentials" type="radio" name="grantTypes"
<%-($.inArray("client_credentials", client.grant_types) > -1 ? 'checked' : '')%>> <%-($.inArray("client_credentials", client.grant_types) > -1 ? 'checked' : '')%>>
<label for="grantTypes-client_credentials" class="checkbox" data-i18n="client.client-form.client-credentials">client credentials</label> <label for="grantTypes-client_credentials" class="radio" data-i18n="client.client-form.client-credentials">client credentials</label>
</div> </div>
<div> <div>
<input id="grantTypes-implicit" type="checkbox" name="grantTypes" <input id="grantTypes-implicit" type="radio" name="grantTypes"
<%-($.inArray("implicit", client.grant_types) > -1 ? 'checked' : '')%>> <%-($.inArray("implicit", client.grant_types) > -1 ? 'checked' : '')%>>
<label for="grantTypes-implicit" class="checkbox" data-i18n="client.client-form.implicit">implicit</label> <label for="grantTypes-implicit" class="radio" data-i18n="client.client-form.implicit">implicit</label>
</div> </div>
<div> <div>