addAction.jsp 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <%@ include file="../../common/head.jsp"%>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. </head>
  9. <body>
  10. <div class="wrapper wrapper-content">
  11. <div class="row">
  12. <div class="col-sm-12">
  13. <cs:form_validate formId="addActionForm"/>
  14. <form class="form-horizontal" action="addAction.cs" id="addActionForm" method="POST">
  15. <div class="form-group">
  16. <label class="col-sm-3 control-label">菜单名称:</label>
  17. <div class="col-sm-6">
  18. <input class="form-control" value="${menu.name }" type="text" readonly="readonly" >
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="col-sm-3 control-label">action名称:</label>
  23. <div class="col-sm-6">
  24. <input id="name" name="name" class="form-control" validate="{required:true, minlength:1}" validateMessage="{required:'请输入菜单名称,不能重复',minlength:'至少一个字符以上'}" >
  25. <input id="menuCode" name="menuCode" class="form-control" value="${menu.code }" type="hidden" >
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <div class="col-sm-4 col-sm-offset-3 pull-left">
  30. <button class="btn btn-default btn-dlg-close">取消</button>
  31. <button class="btn btn-primary" type="submit">提交</button>
  32. </div>
  33. </div>
  34. </form>
  35. </div>
  36. </div>
  37. </div>
  38. </body>
  39. </html>