<div id="wrapper" class="container">
    <div class="row">
        <div class="bs-sidebar col-md-3 clearfix" data-ng-include data-src="'partials/realm-menu.html'"></div>
        <div id="content-area" class="col-md-9" role="main">
            <div class="top-nav">
                <ul class="rcue-tabs">
                    <li><a href="#/realms/{{realm.realm}}/users/{{user.username}}">Attributes</a></li>
                    <li class="active"><a href="#/realms/{{realm.realm}}/users/{{user.username}}/user-credentials">Credentials</a></li>
                    <li><a href="#/realms/{{realm.realm}}/users/{{user.username}}/role-mappings">Role Mappings</a></li>
                </ul>
            </div>
            <div id="content">
                <ol class="breadcrumb">
                    <li><a href="#/realms/{{realm.realm}}">{{realm.realm}}</a></li>
                    <li class="active">Users</li>
                </ol>
                <h2><span>{{user.username}}'s</span> Credentials</h2>

                <form name="userForm" novalidate>
                    <fieldset class="border-top">
                        <legend uncollapsed><span class="text">Credential Management</span></legend>
                        <div class="form-group">
                            <label for="password">Reset password</label>
                            <div class="controls">
                                <input type="password" id="password" name="password" data-ng-model="password" placeholder="Temporary password" required>
                                <input type="password" id="confirmPassword" name="confirmPassword" data-ng-model="confirmPassword" placeholder="Password confirmation" required>
                                <button type="submit" data-ng-click="resetPassword()" class="destructive" data-ng-show="password">Reset Password</button>
                            </div>
                        </div>

                        <div class="form-group" data-ng-show="user.email">
                            <label for="password">Reset password email</label>
                            <div class="controls">
                                <button type="submit" data-ng-click="resetPasswordEmail()" class="destructive">Send Email</button>
                            </div>
                        </div>

                        <div class="form-group" data-ng-show="user.totp">
                            <label for="password">Remove totp</label>
                            <div class="controls" data-ng-show="user.totp">
                                <button type="submit" data-ng-click="removeTotp()" class="destructive">Remove TOTP</button>
                            </div>
                        </div>
                    </fieldset>
                </form>

            </div>
        </div>
        <div id="container-right-bg"></div>
    </div>
</div>