]> git.openstreetmap.org Git - rails.git/blob - app/views/diary_entries/_page.html.erb
Pass translation scope instead of keys to shared pagination
[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              :translation_scope => "shared.pagination.diary_entries",
8              :newer_id => @newer_entries_id,
9              :older_id => @older_entries_id %>
10 </turbo-frame>