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/shixun_recycles/index.html.erb

16 lines
875 B

<% define_admin_breadcrumbs do %>
<% add_admin_breadcrumb('实训回收站') %>
<% end %>
<div class="box search-form-container shixun-recycles-list-form">
<%= form_tag(admins_shixun_recycles_path, method: :get, class: 'form-inline search-form',id:"shixun-recycles-search-form",remote:true) do %>
<%= text_field_tag(:search, params[:search], class: 'form-control col-sm-2 ml-3', placeholder: '输入名称关键字搜索') %>
<%= submit_tag('搜索', class: 'btn btn-primary ml-3','data-disable-with': '搜索中...') %>
<%= link_to "清除",admins_shixun_recycles_path,class: "btn btn-default",id:"shixun-recycles-clear-search",'data-disable-with': '清除中...' %>
<% end %>
</div>
<div class="box admin-list-container shixun-recycles-list-container">
<%= render partial: 'admins/shixun_recycles/shared/list', locals: { shixuns: @shixuns } %>
</div>