<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8"/>
</head>
<body>
<div id="wrapper">
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">实习教师分配 -
                    <small>批量分配</small>
                    <small class="pull-right">
                        <button type="button" class="btn btn-primary" id="page_back">返回</button>
                    </small>
                </h1>
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-12 col-md-12">
                <form id="demoform" role="form">
                    <div class="form-group" id="valid_organize">
                        <label>班级</label>
                        <select multiple="multiple" size="10" name="duallistbox_demo1[]" id="select_organize">

                        </select>
                        <p class="text-danger hidden" id="organize_error_msg"></p>
                    </div>
                    <div class="form-group" id="valid_teacher">
                        <label>教职工</label>
                        <select multiple="multiple" size="10" name="duallistbox_demo2[]" id="select_teacher">

                        </select>
                        <p class="text-danger hidden" id="teacher_error_msg"></p>
                    </div>
                    <div class="form-group" id="valid_exclude_internship_release">
                        <label>排除以下实习中已分配学生</label>
                        <select multiple="multiple" size="10" name="duallistbox_demo3[]" id="exclude_internship_release">

                        </select>
                        <p class="text-danger hidden" id="exclude_internship_release_error_msg"></p>
                    </div>
                    <br/>
                    <div class="text-center">
                        <button type="button" id="save" class="btn btn-default btn-block">确认分配</button>
                    </div>
                </form>
            </div>
        </div>
        <!-- /.row -->
        <footer class="footer" th:include="footer::footer">
            <p class="text-muted">&copy; Company 2016</p>
        </footer>
        <!-- /.footer -->
        <script id="organize-template" type="text/x-handlebars-template">
            {{#each listResult}}
            <option value="{{organize_value}}">{{organize_name}}</option>
            {{/each}}
        </script>
        <script id="teacher-template" type="text/x-handlebars-template">
            {{#each listResult}}
            <option value="{{teacher_value}}">{{teacher_name}}</option>
            {{/each}}
        </script>
        <script id="exclude-internship-release-template" type="text/x-handlebars-template">
            {{#each listResult}}
            <option value="{{internshipReleaseId}}">{{internship_title}}</option>
            {{/each}}
        </script>
        <script th:inline="javascript">
            /*页面参数*/
            var init_page_param = {
                'internshipReleaseId': /*[[${internshipReleaseId}]]*/ ''
            };
        </script>
        <input type="hidden" class="dy_script" value="/js/internship/distribution/internship_batch_distribution.js"/>
    </div>
    <!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
</body>

</html>