view.jsp 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <!doctype html>
  4. <html>
  5. <head>
  6. <meta charset="utf-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <%@ include file="../../common/head.jsp"%>
  9. <cs:initFile/>
  10. </head>
  11. <body>
  12. <div class="wrapper wrapper-content">
  13. <div class="row">
  14. <div class="col-sm-12">
  15. <cs:form_validate formId="addMenuForm"/>
  16. <form class="form-horizontal" action="edit.cs" id="addMenuForm" method="POST">
  17. <input type="hidden" id="id" name="id" value="${mgmProductCategory.id }"/>
  18. <div class="form-group">
  19. <label class="col-sm-3 control-label">名称:</label>
  20. <div class="col-sm-6">
  21. <input id="gcName" name="gcName" value="${mgmProductCategory.gcName }" readonly="readonly" class="form-control" validate="{required:true, minlength:1}" validateMessage="{required:'请输入菜单名称,不能重复',minlength:'至少一个字符以上'}" >
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label class="col-sm-3 control-label">分类图标:</label>
  26. <div class="col-sm-6">
  27. <cs:file name="gcIcon" type="100" url="${mgmProductCategory.gcIcon }" num="1"></cs:file>
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label class="col-sm-3 control-label">关键字:</label>
  32. <div class="col-sm-6">
  33. <input id="gcKeywords" name="gcKeywords" value="${mgmProductCategory.gcKeywords }" readonly="readonly" class="form-control" validate="{required:true, minlength:1}" validateMessage="{required:'请输入分类关键字',minlength:'至少一个字符以上'}" >
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="col-sm-3 control-label">描述:</label>
  38. <div class="col-sm-6">
  39. <textarea rows="12" readonly="readonly" cols="" id="gcDesc" name="gcDesc" class="form-control">${mgmProductCategory.gcDesc }</textarea>
  40. </div>
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </div>
  46. </body>
  47. </html>