<rt-form id="{{vm.form.name}}" name="{{vm.form.name}}" novalidate>
    <div class="row rt-margin-bottom-before-box">
        <div class="col-sm-2">
            <button class="btn btn-link" type="button" id="btnClose" ng-click="vm.form.hide()">
                        <i class="fa fa-sign-out"></i> 关闭
                    </button>
        </div>
        <!-- div[.col-sm-2] -->
        <div class="col-sm-10">
            <div class="pull-right">
                <rt-button id="btnSave" rt-style="link" rt-title="保存" rt-icon="floppy-o" ng-click="vm.form.newSave();">
                </rt-button>
            </div>
        </div>
        <!-- div[.col-sm-10] -->
    </div>
    <!-- div[.row] -->
    <div class="nav-tabs-custom">
        <!-- @@表单 -->
        <ul class="nav nav-tabs">
            <li class="active">
                <a href="#A1{{vm.form.RoleCode}}" onclick="return false;" data-toggle="tab">复制安全角色</a>
            </li>
        </ul>
        <!-- ui[.nav] -->

        <div class="tab-content">
            <div class="tab-pane active" id="A1{{vm.form.RoleCode}}">
                <rt-section rt-title="使用此安全角色来创建新的安全角色">
                    <rt-section-row>
                        <rt-input rt-type="text" rt-title="要复制的角色" rt-disabled="true" rt-col="4" ng-model="roleData.RoleName"></rt-input>
                        <rt-input rt-type="text" rt-title="新角色名称" rt-required="true" rt-col="4" ng-model="vm.newRoleName"></rt-input>
                    </rt-section-row>
                    <rt-section-row>
                        <rt-checkbox rt-title="复制完成时打开" rt-col="4" ng-model="vm.isOpen"></rt-checkbox>
                    </rt-section-row>
                </rt-section>
            </div>
        </div>
        <!-- div[.tab-content] -->
    </div>
</rt-form>
<!-- rt-form -->