<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="#/create/user/{{realm.id}}">New User</a></li>
                    <li><a href="#/realms/{{realm.id}}/users">Query Users</a></li>
                    <li><a href="#">Attributes</a></li>
                    <li><a href="#">Credentials</a></li>
                    <li class="active"><a href="#">Role Mappings</a></li>
                </ul>
            </div>
            <div id="content">
                <h2 class="pull-left">Role Mappings: <span>{{realm.realm}}</span></h2>
                <p class="subtitle"></p>
                <form name="realmForm" novalidate>
                    <fieldset>
                        <legend uncollapsed><span class="text">Realm Roles</span> </legend>
                        <div class="form-group">
                            <div class="controls">
                                <select multiple size=5>
                                    <option value="role1">role1</option>
                                    <option value="role2">role2</option>
                                    <option value="role3">role3</option>
                                    <option value="role4">role4</option>
                                </select>
                                <button type="submit">---&gt;</button>
                                <button type="submit">&lt;---</button>
                                <select multiple size=5>
                                    <option value="role1">role1</option>
                                    <option disabled="disabled" value="role2">role2</option>
                                    <option value="role3">role3</option>
                                    <option value="role4">role4</option>
                                </select>
                            </div>
                        </div>
                    </fieldset>
                    <fieldset>
                        <legend collapsed><span class="text">Application Roles</span> </legend>
                        <div class="form-group">
                            <div class="controls">
                                <select multiple size=5>
                                    <option value="role1">role1</option>
                                    <option value="role2">role2</option>
                                    <option value="role3">role3</option>
                                    <option value="role4">role4</option>
                                </select>
                                <button type="submit">---&gt;</button>
                                <button type="submit">&lt;---</button>
                                <select multiple size=5>
                                    <option value="role1">role1</option>
                                    <option disabled="disabled" value="role2">role2</option>
                                    <option value="role3">role3</option>
                                    <option value="role4">role4</option>
                                </select>
                            </div>
                        </div>
                    </fieldset>

                    <div class="form-actions" data-ng-show="createRealm">
                        <button type="submit" data-ng-click="save()" class="primary" data-ng-show="changed">Save
                        </button>
                        <button type="submit" data-ng-click="cancel()" data-ng-click="cancel()"
                                data-ng-show="changed">Cancel
                        </button>
                    </div>

                    <div class="form-actions" data-ng-show="!createRealm">
                        <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>
                        <button type="submit" data-ng-click="remove()" class="danger" data-ng-hide="changed">
                            Delete
                        </button>
                    </div>

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