1 <% @title = t(".title") %>
3 <% content_for :head do %>
4 <%= javascript_include_tag "user" %>
7 <% content_for :heading do %>
8 <h1><%= t(".heading") %></h1>
11 <% unless @users.empty? %>
15 <%= render "shared/pagination",
16 :newer_key => "users.index.newer",
17 :older_key => "users.index.older",
18 :newer_id => @newer_users_id,
19 :older_id => @older_users_id %>
21 <div class="col col-auto">
22 <%= t ".found_users", :count => @users_count %>
26 <%= hidden_field_tag :status, params[:status] if params[:status] %>
27 <%= hidden_field_tag :ip, params[:ip] if params[:ip] %>
28 <%= hidden_field_tag :page, params[:page] if params[:page] %>
29 <table id="user_list" class="table table-borderless table-striped">
35 <%= check_box_tag "user_all", "1", false %>
44 <%= render "shared/pagination",
45 :newer_key => "users.index.newer",
46 :older_key => "users.index.older",
47 :newer_id => @newer_users_id,
48 :older_id => @older_users_id %>
50 <div class="col col-auto">
51 <%= t ".found_users", :count => @users_count %>
56 <%= submit_tag t(".confirm"), :name => "confirm", :class => "btn btn-primary" %>
57 <%= submit_tag t(".hide"), :name => "hide", :class => "btn btn-primary" %>
61 <p><%= t ".empty" %></p>