jnaqsh/nerdnews

View on GitHub
app/views/kaminari/_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
    num_pages:     total number of pages
    per_page:      number of items to fetch per page
    remote:        data-remote
-%>
<li class="page gap"><%= raw(t 'views.pagination.truncate') %></li>