<% define_breadcrumbs do add_breadcrumb('竞赛列表', cooperative_competitions_path) add_breadcrumb(@competition.name) end %>
<%= form_tag(cooperative_competition_enroll_lists_path(unsafe_params), method: :get, class: 'form-inline search-form mt-3 flex-1 d-flex', remote: true) do %> <%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: '战队名称检索') %> <%= text_field_tag(:school, params[:school], class: 'form-control col-sm-2 ml-3', placeholder: '队员学校名称检索') %> <%= text_field_tag(:location, params[:location], class: 'form-control col-sm-2 ml-3', placeholder: '队员地区检索') %> <%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %> <%= link_to "清除", cooperative_competition_enroll_lists_path(@competition), class: "btn btn-default",'data-disable-with': '清除中...' %> <% end %> 导出
<%= render(partial: 'cooperative/enroll_lists/list', locals: { enroll_lists: @enroll_lists }) %>