<div class="modal fade recruitment-change-modal" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog modal-dialog-scrollable" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title"><%= type == "create" ? "新增" : "编辑" %></h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
       <%= form_for @recruitment, url: {controller: "recruitments", action: "#{type}"} do |p| %>
        <div class="modal-body">
          <div class="form-group">
            <label>
              岗位标题 <span class="ml10 color-orange mr20">*</span>
            </label>
            <%= p.text_field :title, class: "form-control input-lg",required: true%>
          </div>
          <div class="form-group">
          <label>
            岗位描述
          </label>
          <div class="pl-0 my-3 setting-item-body" id="system-notification-content-editor">
            <%= p.text_area :description, class:"form-control", style: 'display: none;', rows: "10", cols: "20", placeholer: "请输入系统通知正文" %>
          </div>
          </div>
          <div class="form-group">
            <label>
              岗位排序 <span class="ml10 color-orange mr20">*</span>
            </label>
            <%= p.number_field :order_index, class: "form-control input-lg",required: true%>
          </div>
        </div>
        <div class="modal-footer">
          <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
          <%= p.submit "确认", class: "btn btn-primary submit-btn" %>
        </div>
      <% end %>
    </div>
  </div>
</div>