<% define_admin_breadcrumbs do %>
  <% add_admin_breadcrumb('单位审批') %>
<% end %>

<div class="box search-form-container flex-column mb-0 pb-0 unit-applies-list-form">
  <%= form_tag(admins_unit_applies_path(unsafe_params), method: :get, class: 'form-inline search-form mt-3', remote: true) do %>
    <%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: '单位名称检索') %>
    <%= submit_tag('搜索', class: 'btn btn-primary ml-3','data-disable-with':"搜索中...") %>
    <%= link_to "清除",admins_unit_applies_path(keyword:nil),class:"btn btn-default",remote:true %>
  <% end %>
</div>

<div class="box unit-applies-list-container">
  <%= render(partial: 'admins/unit_applies/shared/list', locals: { applies: @unit_applies }) %>
</div>

<%= render(partial: 'admins/shared/admin_common_refuse_modal') %>
