<% define_admin_breadcrumbs do %>
  <% add_admin_breadcrumb('身份审核列表', admins_identity_verifications_path) %>
<% end %>

<div class="box search-form-container user-list-form">
  <%= form_tag(admins_identity_verifications_path, method: :get, class: 'form-inline search-form flex-1', remote: true) do %>
    <div class="form-group mr-2">
      <label for="state">状态：</label>
      <% state_options = [['待审核', 0], ['全部',"all"], ['已通过', 1], ['已拒绝', 2]] %>
      <%= select_tag(:state, options_for_select(state_options), class: 'form-control') %>
    </div>

    <%= submit_tag('搜索', class: 'btn btn-primary ml-3', 'data-disable-with': '搜索中...') %>
  <% end %>

</div>

<div class="box admin-list-container identity-verifications-list-container">
  <%= render partial: 'admins/identity_verifications/shared/info_list', locals: { identity_verifications: @identity_verifications } %>
</div>

