From a4d98f9d36fbc7db165120d65ea90d485322f27d Mon Sep 17 00:00:00 2001 From: Frances Botsford Date: Fri, 13 Jan 2017 10:20:21 -0500 Subject: [PATCH] remove haml and slim changes --- kaminari-core/app/views/kaminari/_paginator.html.haml | 2 +- kaminari-core/app/views/kaminari/_paginator.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kaminari-core/app/views/kaminari/_paginator.html.haml b/kaminari-core/app/views/kaminari/_paginator.html.haml index 89f31f8..0a34338 100644 --- a/kaminari-core/app/views/kaminari/_paginator.html.haml +++ b/kaminari-core/app/views/kaminari/_paginator.html.haml @@ -6,7 +6,7 @@ -# remote: data-remote -# paginator: the paginator that renders the pagination tags inside = paginator.render do - %nav.pagination{ role: 'navigation', aria: { label: "pager" } } + %nav.pagination = first_page_tag unless current_page.first? = prev_page_tag unless current_page.first? - each_page do |page| diff --git a/kaminari-core/app/views/kaminari/_paginator.html.slim b/kaminari-core/app/views/kaminari/_paginator.html.slim index f54bf69..fd263b8 100644 --- a/kaminari-core/app/views/kaminari/_paginator.html.slim +++ b/kaminari-core/app/views/kaminari/_paginator.html.slim @@ -7,7 +7,7 @@ paginator : the paginator that renders the pagination tags inside == paginator.render do - nav.pagination role="navigation" aria-label="pager" + nav.pagination == first_page_tag unless current_page.first? == prev_page_tag unless current_page.first? - each_page do |page|