lib/templates/uikit_nav.html.haml in pagy-5.2.3 vs lib/templates/uikit_nav.html.haml in pagy-5.3.0
- old
+ new
@@ -12,10 +12,10 @@
- if item.is_a?(Integer)
%li!= link.call(item)
- elsif item.is_a?(String)
%li.uk-active
- %span!= pagy_labeler(pagy, item)
+ %span!= pagy.label_for(item)
- elsif item == :gap
%li.uk-disabled
%span!= pagy_t('pagy.nav.gap')