<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" data-ng-hide="createRealm">
                <ul class="rcue-tabs">
                    <li><a href="#/realms/{{realm.id}}">Settings</a></li>
                    <li data-ng-show="realm.social"><a href="#">Social</a></li>
                    <li><a href="#/realms/{{realm.id}}/roles">Roles</a></li>
                    <li class="active"><a href="#/realms/{{realm.id}}/required-credentials">Required Credentials</a></li>
                    <li><a href="#/realms/{{realm.id}}/token-settings">Token Settings</a></li>
                </ul>
            </div>
            <div id="content">
                <h2 class="pull-left">Realm: <span>{{realm.realm}}</span></h2>
                <p class="subtitle"></p>
                <form name="realmForm" novalidate>
                    <fieldset>
                        <legend uncollapsed><span class="text">Required Credentials</span></legend>
                        <div class="form-group">
                            <label class="control-label">Required User Credentials</label>

                            <div class="controls">
                                <input style="width:250px" type="text" ui-select2="userCredentialOptions" ng-model="realm.requiredCredentials">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label">Required Application Credentials</label>

                            <div class="controls">
                                <input style="width:250;height:25" type="text" ui-select2="userCredentialOptions" ng-model="realm.requiredApplicationCredentials">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label">Required OAuth Credentials</label>

                            <div class="controls">
                                <input style="width:250px" type="text" ui-select2="userCredentialOptions" ng-model="realm.requiredOAuthClientCredentials">
                            </div>
                        </div>
                    </fieldset>
                   <div class="form-actions">
                        <button type="submit" data-ng-click="save()" class="primary" data-ng-show="changed">Save
                            changes
                        </button>
                        <button type="submit" data-ng-click="reset()" data-ng-show="changed">Clear changes
                        </button>
                    </div>

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