mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 22:24:47 +02:00
42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
<div class="page-header">
|
|
<h1><%= t '.header' %></h1>
|
|
</div>
|
|
|
|
<%= render 'application/pagination' %>
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="table-responsive">
|
|
<table class="table table-hover table-bordered table-condensed">
|
|
<thead>
|
|
<tr>
|
|
<th class="col-xs-2">
|
|
<%= sort_link(@q, 'username') %>
|
|
</th>
|
|
<th class="col-xs-2">
|
|
<%= sort_link(@q, 'registrar_name', Registrar.model_name.human) %>
|
|
</th>
|
|
<th class="col-xs-2">
|
|
<%= sort_link(@q, 'active', ApiUser.human_attribute_name(:active)) %>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<%= render partial: 'api_user', collection: @api_users %>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<%= paginate @api_users %>
|
|
</div>
|
|
<div class="col-md-6 text-right">
|
|
<div class="pagination">
|
|
<%= t(:result_count, count: @q.result.count) %>
|
|
</div>
|
|
</div>
|
|
</div>
|