lib/templates/nav.html.slim in pagy-0.5.0 vs lib/templates/nav.html.slim in pagy-0.6.0
- old
+ new
@@ -4,10 +4,10 @@
/ The link variable is set to a proc that returns the link tag.
/ Usage: link.call( page_number [, text [, extra_attributes_string ]])
- link = pagy_link_proc(pagy)
-nav.pagination role="navigation" aria-label="pager"
+nav.pagy_nav.pagination role="navigation" aria-label="pager"
- if pagy.prev
span.page.prev ==> link.call(pagy.prev, pagy_t('pagy.nav.prev'), 'aria-label="previous"')
- else
span.page.prev.disabled ==> pagy_t('pagy.nav.prev')