Sha256: d5402af3a79029946eadf65c772d03f47ec3fbccba38698bfa76a6d576c118d4

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

<%#
    name: headmin/pagination
    accepts block: no
    parameters:
      collection: Kaminari collection that accepts a method .total_count
%>

<div class="d-flex flex-row-reverse flex-md-row align-items-center w-100 justify-content-between justify-content-md-end">
  <div class="ms-2 me-md-2 text-secondary">
    <%= t('.items', count: collection.total_count) %>
  </div>
  <%= paginate collection, views_prefix: 'headmin' %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
headmin-0.1.2 app/views/headmin/_pagination.html.erb
headmin-0.1.1 app/views/headmin/_pagination.html.erb