Sha256: cb39bc60c329168f43da9408946e9d27bfa083f0e58f90a080bd1b80d60e5fd7
Contents?: true
Size: 678 Bytes
Versions: 2
Compression:
Stored size: 678 Bytes
Contents
<% # headmin/notifications # # ==== Options # * <tt>collection</tt> - Kaminari collection that accepts a method .total_count # # ==== Examples # Basic version # <%= render "headmin/pagination, collection: @pages" %#> %> <div class="d-flex flex-row-reverse flex-md-row align-items-center justify-content-between justify-content-md-end my-1"> <% content_for :collection_total_count, collection.total_count.to_s unless content_for?(:collection_total_count) %> <div class="ms-2 me-md-2 text-secondary"> <%= t('.items', count: content_for(:collection_total_count).to_i) %> </div> <%= paginate collection, views_prefix: 'headmin/pagination' %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
headmin-0.2.9 | app/views/headmin/_pagination.html.erb |
headmin-0.2.8 | app/views/headmin/_pagination.html.erb |