<% define_admin_breadcrumbs do %>
  <% add_admin_breadcrumb('组织管理', admins_organizations_path) %>
<% end %>
<div class="box search-form-container user-list-form">
  <%= form_tag(admins_organizations_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>

    <%= text_field_tag(:keyword, params[:keyword], class: 'form-control col-sm-2 ml-3', placeholder: 'login/昵称') %>
    <label for="user_enabling_cla">
      是否签署CLA
    </label>
    <%= check_box_tag("enabling_cla", true, false, id: "user_enabling_cla", style: 'margin-left: 2px;') %>
    
    <%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>
  <% end %>
  
</div>

<div class="box admin-list-container organizations-list-container">
  <%= render partial: 'admins/organizations/shared/org_list', locals: { organizations: @orgs } %>
</div>

