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.
18 lines
916 B
18 lines
916 B
<% define_admin_breadcrumbs do %>
|
|
<% add_admin_breadcrumb('合作伙伴') %>
|
|
<% end %>
|
|
|
|
<div class="box search-form-container partner-list-form">
|
|
<%= form_tag(admins_partners_path, method: :get, class: 'form-inline search-form', remote: true) do %>
|
|
<%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-md-4 ml-3', placeholder: '合作伙伴名称检索') %>
|
|
<%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>
|
|
<% end %>
|
|
|
|
<%= javascript_void_link('添加', class: 'btn btn-primary', data: { toggle: 'modal', target: '.admin-select-school-modal' }) %>
|
|
</div>
|
|
|
|
<div class="box admin-list-container partner-list-container">
|
|
<%= render 'admins/partners/shared/list', partners: @partners %>
|
|
</div>
|
|
|
|
<%= render partial: 'admins/shared/modal/select_school_modal', locals: { title: '添加客户', multiple: true, url: admins_partners_path } %> |