<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
						<input id="parentId" name="parentId" type="hidden"
							   th:value="${pId}">

                        <div class="form-group">
                            <label class="col-sm-3 control-label">上级分类数据名称：</label>
                            <div class="col-sm-8">
                                <input id="" name="" class="form-control" type="text" th:value="${pName}" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">分类数据名称：</label>
                            <div class="col-sm-8">
                                <input id="partName" name="partName" class="form-control" type="text" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">分类数据描述：</label>
                            <div class="col-sm-8">
                                <textarea id="partDesc" name="partDesc" class="form-control" ></textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">是否重要：</label>
<!--                            <div class="col-sm-8">-->
<!--                                <input id="partIsMajor" name="partIsMajor" class="form-control" type="text">-->
<!--                            </div>-->
                            <div class="col-sm-8">
                                <label class="radio-inline">
                                    <input type="radio" name="partIsMajor" value="0" checked /> 一般
                                </label> <label class="radio-inline">
                                <input type="radio"  name="partIsMajor" value="1" /> 重要
                            </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">排序：</label>
                            <div class="col-sm-8">
                                <input id="orderNum" name="orderNum" class="form-control" type="text">
                            </div>
                        </div>
<!--                        <div class="form-group">-->
<!--                            <label class="col-sm-3 control-label">是否删除 -1：已删除 0：正常：</label>-->
<!--                            <div class="col-sm-8">-->
<!--                                <input id="delFlag" name="delFlag" class="form-control" type="text">-->
<!--                            </div>-->
<!--                        </div>-->
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="reset" class="btn btn-outline-secondary" id="go_back">返回</button>
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/datas/dataPart/add.js">
</script>
</body>
</html>
