sferik/rails_admin

View on GitHub
app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb

Summary

Maintainability
Test Coverage
<% if current_page.last? %>
  <li class="page-item next disabled">
    <%= link_to raw(t 'admin.pagination.next'), '#', class: 'page-link' %>
  </li>
<% else %>
  <li class="page-item next">
    <%= link_to raw(t 'admin.pagination.next'), url, class: 'page-link' %>
  </li>
<% end %>