lib/templates/bulma_nav.html.haml in pagy-1.3.3 vs lib/templates/bulma_nav.html.haml in pagy-2.0.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.pagy-nav-bulma.pagy-bulma_nav.pagination.is-centered{:role => "navigation", "aria-label" => "pagination"} +%nav.pagy-bulma_nav.pagination.is-centered{:role => "navigation", "aria-label" => "pagination"} - if pagy.prev != link.call(pagy.prev, pagy_t('pagy.nav.prev'), 'class="pagination-previous" aria-label="previous page"') - else %a.pagination-previous{:disabled => "disabled"}!= pagy_t('pagy.nav.prev')