add.html.vm 1.0 KB

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <head th:include="include :: header"></head>
  5. <body class="white-bg">
  6. <div class="wrapper wrapper-content animated fadeInRight ibox-content">
  7. <form class="form-horizontal m" id="form-${classname}-add">
  8. #foreach($column in $columns)
  9. #if($column.columnName != $primaryKey.columnName)
  10. <div class="form-group">
  11. <label class="col-sm-3 control-label">${column.columnComment}:</label>
  12. <div class="col-sm-8">
  13. <input id="${column.attrname}" name="${column.attrname}" class="form-control" type="text">
  14. </div>
  15. </div>
  16. #end
  17. #end
  18. <div class="form-group">
  19. <div class="col-sm-8 col-sm-offset-3">
  20. <button type="submit" class="btn btn-primary">提交</button>
  21. </div>
  22. </div>
  23. </form>
  24. </div>
  25. <div th:include="include::footer"></div>
  26. <script src="/ruoyi/${moduleName}/${classname}/add.js">
  27. </script>
  28. </body>
  29. </html>