fix(manager): update templates and make everything works

This commit is contained in:
Colin Darie 2024-02-06 17:43:20 +01:00
parent 460778b617
commit 1e2a6d0461
25 changed files with 381 additions and 374 deletions

View file

@ -1,6 +1,6 @@
- if resources.singleton_class.included_modules.include?(Kaminari::PaginatableWithoutCount)
%nav.pagination
= link_to_prev_page resources, t("views.pagination.previous"), param_name: "_page"
= link_to_next_page resources, t("views.pagination.next"), param_name: "_page"
= link_to_prev_page resources, t("views.pagination.previous").html_safe, param_name: "_page"
= link_to_next_page resources, t("views.pagination.next").html_safe, param_name: "_page"
- else
= paginate resources, param_name: "_page", views_prefix: 'shared'
= paginate resources, param_name: local_assigns.fetch(:param_name) { "_page" }