You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/admins/unit_applies/index.html.erb

18 lines
866 B

<% 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') %>