2 <% current_page = @edit_pages.current_page %>
4 <%= t'changeset.changeset_paging_nav.showing_page' %>
5 <%= current_page.number %> (<%= current_page.first_item %><%
6 if (current_page.first_item < current_page.last_item) # if more than 1 changeset on page
7 %>-<%= current_page.last_item %><%
9 <%= t'changeset.changeset_paging_nav.of'%> <%= @edit_pages.item_count %>)
10 <% if @edit_pages.page_count > 1 %>
11 | <%= pagination_links_each(@edit_pages, {}) { |n| link_to(n, params.merge({ :page => n })) } %>