aboutsummaryrefslogtreecommitdiff
blob: 7cf5bf13590c6ab8fca38f59405f11b3e0cd43bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div>
    <form class="form-horizontal no-margin-top" name="credentialForm" novalidate kc-read-only="!client.access.configure" data-ng-controller="ClientSecretCtrl">
        <div class="form-group">
            <label class="col-md-2 control-label" for="secret">{{:: 'secret' | translate}}</label>
            <div class="col-sm-6">
                <div class="row">
                    <div class="col-sm-6">
                        <input readonly kc-select-action="click" class="form-control" type="text" id="secret" name="secret" data-ng-model="secret">
                    </div>
                    <div class="col-sm-6" data-ng-show="client.access.configure">
                        <button type="submit" data-ng-click="changePassword()" class="btn btn-default">{{:: 'regenerate-secret' | translate}}</button>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>