<!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-roadShow-add">
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">巡演名称：</label>
                <div class="col-sm-8">
                    <input name="title" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">状态：</label>
                <div class="col-sm-8">
<!--                    <input name="status" class="form-control" type="number" required>-->
                    <div class="radio check-box">
                        <input type="radio" value="1" name="status" checked> 启用</label>
                    </div>
                    <div class="radio check-box">
                        <input type="radio" value="0" name="status"> 停用</label>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "kylin/performances/roadShow";
        $("#form-roadShow-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-roadShow-add').serialize());
            }
        }
    </script>
</body>
</html>