<div class="main">
    <form method="post" class=" form ui-formBind" data-source="@Model">
        <div class="form-group">
            <label class="control-label">角色名称</label>
            <div class="controls">
                <input type="text" name="Name" id="Name" class="form-control" maxlength="50" data-validate="dataType:'*',nullMsg:'请填写角色名称!'" value="" />
                <span class="help-block"></span>
            </div>
        </div>

        <div class="form-group">
            <label class="control-label">备注</label>
            <div class="controls">
                <input type="text" name="Remark" id="Remark" class="form-control" maxlength="50" value="" />
                <span class="help-block"></span>
            </div>
        </div>
        <div class="postarea">
            <div class="form-group">
                <label class="control-label"></label>
                <div class="controls">
                    @Html.AntiForgeryToken()
                    <input type="hidden" name="Id" id="Id"  />
                    <input type="hidden" name="IsSuperadmin" id="IsSuperadmin" value="0" />
                    <button type="button" class="btn btn-sm btn-primary ui-pagePost" data-custom-params="url:'@Url.ActionUrl()',callBack:'PostRefreshBack'">提交</button>
                    <button type="button" class="btn btn-sm btn-default ui-closeDialog">关闭</button>
                    <span class="help-block"></span>
                </div>
            </div>
        </div>
    </form>
</div>