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

        <div class="control-group">
            <label class="control-label">序号</label>
            <div class="controls">
                <input type="text" id="Xuhao" name="Xuhao" maxlength="5" value="1" data-validate="dataType:'numeric',min:1,nullMsg:'请填写序号!',errorMsg:'只能填写大于等于1的数字！'"  class="form-control ui-queryString" />
                <span class="help-block"></span>
            </div>
        </div>

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