<div class="box search-form-container project-list-form">
  <div style="line-height: 38px;" class="flex-1"><%= type == "create" ? "新建" : "编辑" %>招聘信息</div>
  <%= link_to "返回", admins_recruitments_path, class: "btn btn-default pull-right" %>
</div>

<div class="box">
  <%= form_for @service_term, url: {controller: "service_terms", action: "#{type}"} do |p| %>
  <div class="form-group">
    <label>
      <span class="color-grey-6 pt10">
        服务条款标题
        <span class="ml10 color-orange mr20">*</span>
      </span>
    </label>
    <div class="mt-10">
      <%= p.text_field :title, class: "form-control input-lg", placeholder: "请输入服务条款标题" %>
    </div>

  </div>
  
  <div class="form-group">
    <label>
      <span class="color-grey-6 pt10">
        服务条款内容
        <span class="ml10 color-orange mr20">*</span>
      </span>
    </label>
    <div class="pl-0 my-3 setting-item-body" id="service-term-content-editor">
      <%= p.text_area :description, class:"form-control", style: 'display: none;', rows: "10", cols: "20", placeholer: "请输入服务条款内容" %>
    </div>

  </div>

  <div class="form-group">
    <%= p.submit "确认", class: "btn btn-primary submit-btn" %>
  </div>
  <% end %>
</div>