]> git.openstreetmap.org Git - rails.git/blob - app/views/traces/_page.html.erb
Pass translation scope instead of keys to shared pagination
[rails.git] / app / views / traces / _page.html.erb
1 <turbo-frame id="pagination" target="_top" data-turbo="false">
2   <%= render "shared/pagination",
3              :translation_scope => "shared.pagination.traces",
4              :newer_id => @newer_traces_id,
5              :older_id => @older_traces_id %>
6
7   <table id="trace_list" class="table table-borderless table-striped">
8     <tbody>
9       <%= render @traces %>
10     </tbody>
11   </table>
12
13   <%= render "shared/pagination",
14              :translation_scope => "shared.pagination.traces",
15              :newer_id => @newer_traces_id,
16              :older_id => @older_traces_id %>
17 </turbo-frame>