- content_for :breadcrumbs do
  %li.breadcrumb-item= link_to 'Admin', admin_path
  %li.breadcrumb-item.active= link_to 'Members', admin_members_path

.row
  .col-md-6
    = bootstrap_form_tag url: admin_members_path, method: :get, layout: :horizontal do |f|
      .input-group.md-form.form-sm
        .input-group-prepend
          %span.input-group-text= icon 'fas', 'user'
        = f.text_field(:q, 'aria-label': 'search members', placeholder: 'search members', hide_label: true)
        = f.submit 'search', class: 'btn btn-secondary'

%table.table.table-striped
  %thead
    %tr
      %th{scope: "col"} #
      %th{scope: "col"} Login Name
      %th{scope: "col"} Email
  - @members.each do |member|
    %tr
      %td= render 'members/tiny', member: member
      %td= member.login_name
      %td= member.email
      %td
        %ul
          - member.roles.pluck(:name).each do |r|
            %li= r
      %td
        = link_to edit_admin_member_path(member), class: 'btn' do
          = edit_icon
        = link_to admin_member_path(member), method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-light text-danger' do
          = icon 'fas', 'ban'
          Ban member
= page_entries_info @members
= will_paginate @members

- content_for :breadcrumbs do
  %li.breadcrumb-item= link_to 'Admin', admin_path
  %li.breadcrumb-item.active= link_to 'Members', admin_members_path

.row
  .col-md-6
    = bootstrap_form_tag url: admin_members_path, method: :get, layout: :horizontal do |f|
      .input-group.md-form.form-sm
        .input-group-prepend
          %span.input-group-text= icon 'fas', 'user'
        = f.text_field(:q, 'aria-label': 'search members', placeholder: 'search members', hide_label: true)
        = f.submit 'search', class: 'btn btn-secondary'

%table.table.table-striped
  %thead
    %tr
      %th{scope: "col"} #
      %th{scope: "col"} Login Name
  - @members.each do |member|
    %tr
      %td= render 'members/tiny', member: member
      %td= member.login_name
      %td
        %ul
          - member.roles.pluck(:name).each do |r|
            %li= r
      %td
        = link_to edit_admin_member_path(member), class: 'btn' do
          = edit_icon
        = link_to admin_member_path(member), method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-light text-danger' do
          = icon 'fas', 'ban'
          Ban member
= page_entries_info @members
= will_paginate @members

Remove email from display in admin/members
Remove email from display in admin/members
