Sha256: bc59eda803a64a4104be1d8d55229e925b6f0898defa9c2f40e4fed15a8e24b1
Contents?: true
Size: 701 Bytes
Versions: 11
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
11 entries across 11 versions & 1 rubygems