<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改子系统用户账号关联')" />
    <th:block th:include="include :: datetimepicker-css" />
    <th:block th:include="include :: select2-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-userRelate-edit">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">老系统名称：</label>
                <div class="col-sm-7">
                    <select id="danganId" name="danganId" class="form-control" required >
                        <option value="">请选择</option>
                        <option th:each="dangan:${danganList}" th:text="${dangan.danganName}" th:value="${dangan.danganId}" ></option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label is-required">新系统名称：</label>
                <div class="col-sm-7">
                    <select id="danganId1" name="danganId1" class="form-control" required >
                        <option value="">请选择</option>
                        <option th:each="dangan:${danganList}" th:text="${dangan.danganName}" th:value="${dangan.danganId}" ></option>
                    </select>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <th:block th:include="include :: select2-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/userRelate";
        $("#form-userRelate-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                // $.operate.save(prefix + "/copy", $('#form-userRelate-edit').serialize());
                $.modal.close();
            }
        }

    </script>
</body>
</html>