]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entries/_page.html.erb
Use Bootstrap pagination for note lists
[rails.git] / app / views / diary_entries / _page.html.erb
1 <turbo-frame id="pagination" target="_top" data-turbo="false">
2   <h4><%= t ".recent_entries" %></h4>
3
4   <%= render @entries %>
5
6   <%= render "shared/pagination",
7              :newer_key => "diary_entries.page.newer_entries",
8              :older_key => "diary_entries.page.older_entries",
9              :newer_id => @newer_entries_id,
10              :older_id => @older_entries_id %>
11 </turbo-frame>