Display page_entries_info within pagination wrapper
Closed this issue · 0 comments
lukerollans commented
Is it currently possible to display page_entries_info
output within the default <div class="pagination">...</div>
wrapper in the options hash?
Only asking given the app I'm currently building would love this, and if it doesn't exist, will gladly open a PR. EG
<%= will_paginate collection, :page_entries_info => true %>
The way I'm seeing it, if page_entries_info
is set to true, then a nested self-titled wrapped will be dropped in to the end of <div class="pagination">
for the developer to style accordingly
For context, here is a screenshot of the pagination I am building. Notice the placeholder for "page 1 of 99", which in this case, would ideally need to be inside the same wrapper as the page links