<!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="${performanceRecommendDao}">
            <input name="ids" th:value="*{performancesId}" 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" readonly>
                    </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">
                        <input name="isRecommend" th:value="*{isRecommend}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "kylin/performances/recommend";
        $("#form-roadShow-edit").validate({
            focusCleanup: true
        });

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