Sha256: f23ac145785882806cb1ba8784db553f27a4a5abbf5309a40bf3971950a88a16
Contents?: true
Size: 701 Bytes
Versions: 1
Compression:
Stored size: 701 Bytes
Contents
<% # headmin/notifications # # ==== Options # * +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 flex-grow-1 flex-shrink-0"> <%= t('.items', count: content_for(:collection_total_count).to_i) %> </div> <%= paginate collection, views_prefix: 'headmin/pagination' %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
headmin-0.5.2 | app/views/headmin/_pagination.html.erb |