Sha256: 1aa63953320c7d6d21bb8906c9b342d661dc36b52df81e52e024498877970866

Contents?: true

Size: 675 Bytes

Versions: 7

Compression:

Stored size: 675 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">
    <%= t('.items', count: content_for(:collection_total_count).to_i) %>
  </div>
  <%= paginate collection, views_prefix: 'headmin/pagination' %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
headmin-0.4.2 app/views/headmin/_pagination.html.erb
headmin-0.4.1 app/views/headmin/_pagination.html.erb
headmin-0.4.0 app/views/headmin/_pagination.html.erb
headmin-0.3.4 app/views/headmin/_pagination.html.erb
headmin-0.3.3 app/views/headmin/_pagination.html.erb
headmin-0.3.2 app/views/headmin/_pagination.html.erb
headmin-0.3.1 app/views/headmin/_pagination.html.erb