<% define_admin_breadcrumbs do %> <% add_admin_breadcrumb('单位审批') %> <% end %>
<%= 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 %>
<%= render(partial: 'admins/unit_applies/shared/list', locals: { applies: @unit_applies }) %>
<%= render(partial: 'admins/shared/admin_common_refuse_modal') %>