<!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-edit" th:object="${kylinRoadShowAdminVo}">
            <input name="roadShowsId" th:value="*{roadShowId}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">巡演名称：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="title" th:value="*{title}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">状态：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <div class="input-group date" th:if="*{status==1}">
                            <input th:value="启用" class="form-control" type="text" readonly>
                        </div>
                        <div class="input-group date" th:if="*{status==0}">
                            <input th:value="停用" class="form-control" type="text" readonly>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "kylin/performances/roadShow";
        $("#form-roadShow-edit").validate({
            focusCleanup: true
        });

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