123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('新增房间')" />
- </head>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form class="form-horizontal m" id="form-notice-add" th:object="${channelReview}">
- <input name="id" type="hidden" th:field="*{id}" />
- <div class="form-group">
- <label class="col-sm-2 control-label">渠道:</label>
- <div class="col-sm-10">
- <input id="channel" name="channel" class="form-control" type="text" readonly th:field="*{channel}"/>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">房主UID:</label>
- <div class="col-sm-10">
- <input id="uids" name="uids" class="form-control" type="text" />
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <th:block th:include="include :: summernote-js" />
- <script type="text/javascript">
- var prefix = ctx + "operation/channel/review";
- $("#form-notice-add").validate({
- focusCleanup: true
- });
- function submitHandler() {
- if ($.validate.form()) {
- $.operate.save(prefix + "/addRooms", $('#form-notice-add').serialize());
- }
- }
- </script>
- </body>
- </html>
|