Will_paginate page_entries_info Multi HTML Page
I have a problem with page_enteries_info from will_paginate.
<div class="row dt-rb">
<div class="col-sm-6">
<div class="dataTables_info" id="DataTables_Table_0_info">
<%= page_entries_info @activities %></div>
</div>
<div class="col-sm-6">
<div class="dataTables_paginate paging_bootstrap">
<%= will_paginate @activities %>
</div>
</div>
</div>
The will_paginate function works fine, but the page_enteries_info file renders: "HTML page with multiple pages"
Any idea?
+3
1 answer
The problem occurs if there are no translations in your local file.
Just follow the instructions at https://github.com/mislav/will_paginate/wiki/I18n and everything will be fine (and paginated!).
+3