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? %>
 
  13     <%= hidden_field_tag :status, params[:status] if params[:status] %>
 
  14     <%= hidden_field_tag :ip, params[:ip] if params[:ip] %>
 
  15     <%= hidden_field_tag :page, params[:page] if params[:page] %>
 
  16     <table id="user_list" class="table table-borderless table-striped">
 
  21                   :page => @user_pages.current_page.number,
 
  22                   :first_item => @user_pages.current_page.first_item,
 
  23                   :last_item => @user_pages.current_page.last_item,
 
  24                   :items => @user_pages.item_count,
 
  25                   :count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1 %>
 
  26             <% if @user_pages.page_count > 1 %>
 
  27             | <%= raw pagination_links_each(@user_pages, {}) { |n| link_to n, @params.merge(:page => n) } %>
 
  31             <%= check_box_tag "user_all", "1", false %>
 
  38     <div id="user_list_actions buttons">
 
  39       <%= submit_tag t(".confirm"), :name => "confirm" %>
 
  40       <%= submit_tag t(".hide"), :name => "hide" %>
 
  44   <p><%= t ".empty" %></p>