add.jsp 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. </head>
  10. <body>
  11. <div class="wrapper wrapper-content">
  12. <div class="row">
  13. <div class="col-sm-12">
  14. <cs:form_validate formId="addDicForm"/>
  15. <form class="form-horizontal" action="add.cs" id="addDicForm" method="POST">
  16. <div class="form-group">
  17. <label class="col-sm-3 control-label">类型:</label>
  18. <div class="col-sm-6">
  19. <input id="type" name="type" class="form-control" validate="{required:true}" validateMessage="{required:'请输入类型'}" >
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label class="col-sm-3 control-label">代码:</label>
  24. <div class="col-sm-6">
  25. <input id="code" name="code" class="form-control" validate="{required:true}" validateMessage="{required:'请输入code,不能重复'}" >
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label class="col-sm-3 control-label">名称:</label>
  30. <div class="col-sm-6">
  31. <input id="name" name="name" class="form-control" validate="{required:true}" validateMessage="{required:'请输入名称'}" >
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="col-sm-3 control-label">值:</label>
  36. <div class="col-sm-6">
  37. <input id="value" name="value" class="form-control" validate="{required:true}" validateMessage="{required:'请输入字典值'}" >
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="col-sm-3 control-label">描述:</label>
  42. <div class="col-sm-6">
  43. <input id="note" name="note" class="form-control" >
  44. </div>
  45. </div>
  46. <!-- <div class="form-group"> -->
  47. <!-- <label class="col-sm-3 control-label">:</label> -->
  48. <!-- <div class="col-sm-6"> -->
  49. <!-- <input id="weight" name="weight" class="form-control" > -->
  50. <!-- </div> -->
  51. <!-- </div> -->
  52. <div class="form-group">
  53. <div class="col-sm-4 col-sm-offset-3 pull-left">
  54. <button class="btn btn-default btn-dlg-close">取消</button>
  55. <button class="btn btn-primary" type="submit">提交</button>
  56. </div>
  57. </div>
  58. </form>
  59. </div>
  60. </div>
  61. </div>
  62. </body>
  63. </html>