<div class="modal fade admin-create-discipline-modal" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">新建课程方向</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form class="admin-create-discipline-form" data-url="<%= admins_disciplines_path %>">
          <div class="form-group d-flex">
            <label for="new_mirror_id" class="col-form-label">名称：</label>
            <div class="w-75 d-flex flex-column">
              <%= text_field_tag(:name, nil, class: 'form-control', placeholder: '请输入名称') %>
            </div>
          </div>

          <div class="error text-danger"></div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
        <button type="button" class="btn btn-primary submit-btn">确认</button>
      </div>
    </div>
  </div>
</div>