add.html.vm 1.1 KB

123456789101112131415161718192021222324252627282930
  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="form-control-static col-sm-offset-9">
  20. <button type="submit" class="btn btn-primary">提交</button>
  21. <button th:onclick="'javascript:layer_close()'" class="btn btn-danger" type="button">关闭</button>
  22. </div>
  23. </div>
  24. </form>
  25. </div>
  26. <div th:include="include::footer"></div>
  27. <script src="/ruoyi/${moduleName}/${classname}/add.js" th:src="@{/ruoyi/${moduleName}/${classname}/add.js}">
  28. </script>
  29. </body>
  30. </html>