]> git.openstreetmap.org Git - rails.git/blob - app/views/users/_page.html.erb
Merge remote-tracking branch 'upstream/pull/5341'
[rails.git] / app / views / users / _page.html.erb
1 <turbo-frame id="pagination" target="_top" data-turbo="false">
2   <%= form_tag do %>
3     <div class="row">
4       <div class="col">
5         <%= render "shared/pagination",
6                    :newer_id => @newer_users_id,
7                    :older_id => @older_users_id %>
8       </div>
9       <div class="col col-auto">
10         <%= t ".found_users", :count => @users_count %>
11       </div>
12     <div>
13
14     <%= hidden_field_tag :status, params[:status] if params[:status] %>
15     <%= hidden_field_tag :ip, params[:ip] if params[:ip] %>
16     <%= hidden_field_tag :page, params[:page] if params[:page] %>
17     <table id="user_list" class="table table-borderless table-striped">
18       <thead>
19         <tr>
20           <td colspan="2">
21           </td>
22           <td>
23             <%= check_box_tag "user_all", "1", false %>
24           </td>
25         </tr>
26       </thead>
27       <%= render @users %>
28     </table>
29
30     <div class="row">
31       <div class="col">
32         <%= render "shared/pagination",
33                    :newer_id => @newer_users_id,
34                    :older_id => @older_users_id %>
35       </div>
36       <div class="col col-auto">
37         <%= t ".found_users", :count => @users_count %>
38       </div>
39     <div>
40
41     <div>
42       <%= submit_tag t(".confirm"), :name => "confirm", :class => "btn btn-primary" %>
43       <%= submit_tag t(".hide"), :name => "hide", :class => "btn btn-primary" %>
44     </div>
45   <% end %>
46 </turbo-frame>