<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%@ include file="../../common/head.jsp"%>
    <cs:initFile/>
</head>
<body>
    <div class="wrapper wrapper-content">
        <div class="row">
            <div class="col-sm-12">
            	 <cs:form_validate formId="addMenuForm"/>
                  <form class="form-horizontal" action="edit.cs" id="addMenuForm" method="POST">
                      <input type="hidden" id="id" name="id" value="${mgmProductCategory.id }"/>
                      
                     <div class="form-group">
                          <label class="col-sm-3 control-label">名称：</label>
                          <div class="col-sm-6">
                              <input id="gcName" name="gcName" value="${mgmProductCategory.gcName }" readonly="readonly" class="form-control" validate="{required:true, minlength:1}" validateMessage="{required:'请输入菜单名称,不能重复',minlength:'至少一个字符以上'}" >
                          </div>
                      </div>
                     
                     <div class="form-group">
                            <label class="col-sm-3 control-label">分类图标：</label>
                            <div class="col-sm-6">
                                <cs:file name="gcIcon" type="100" url="${mgmProductCategory.gcIcon }" num="1"></cs:file>
                            </div>
                      </div>
                     
                      <div class="form-group">
                          <label class="col-sm-3 control-label">关键字：</label>
                          <div class="col-sm-6">
                              <input id="gcKeywords" name="gcKeywords" value="${mgmProductCategory.gcKeywords }" readonly="readonly" class="form-control" validate="{required:true, minlength:1}" validateMessage="{required:'请输入分类关键字',minlength:'至少一个字符以上'}" >
                          </div>
                      </div>
                      
                      <div class="form-group">
                          <label class="col-sm-3 control-label">描述：</label>
                          <div class="col-sm-6">
                          <textarea rows="12" readonly="readonly" cols="" id="gcDesc" name="gcDesc" class="form-control">${mgmProductCategory.gcDesc }</textarea>
                          </div>
                      </div>
                      
                  </form>
            </div>
        </div>

    </div>


</body>

</html>

