editAction.jsp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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="editAction.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}" value="${ac.name }" >
  25. <input id="id" name="id" class="form-control" value="${ac.id }" type="hidden" >
  26. <input id="menuCode" name="menuCode" class="form-control" value="${menu.code }" type="hidden" >
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <label class="col-sm-3 control-label">val:</label>
  31. <div class="col-sm-6">
  32. <input id="val" readonly="readonly" name="val" class="form-control" value="${ac.val }" >
  33. </div>
  34. </div>
  35. <div class="form-group">
  36. <div class="col-sm-4 col-sm-offset-3 pull-left">
  37. <button class="btn btn-default btn-dlg-close">取消</button>
  38. <button class="btn btn-primary" type="submit">提交</button>
  39. </div>
  40. </div>
  41. </form>
  42. </div>
  43. </div>
  44. </div>
  45. </body>
  46. </html>