TrestleAdmin/trestle

View on GitHub
app/views/kaminari/trestle/_gap.html.erb

Summary

Maintainability
Test Coverage
<%# Non-link tag that stands for skipped pages...
  - available local variables
    current_page:  a page object for the currently displayed page
    total_pages:   total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<li class="page-item gap disabled">
  <span class="page-link"><%= t('views.pagination.truncate').html_safe %></span>
</li>