diff --git a/app/views/kaminari/_first_page.html.erb b/app/views/kaminari/_first_page.html.erb
index e22cc9b..20ab7fc 100644
--- a/app/views/kaminari/_first_page.html.erb
+++ b/app/views/kaminari/_first_page.html.erb
@@ -7,7 +7,7 @@
remote: data-remote
-%>
<% unless current_page.first? -%>
-
+
<%= link_to raw(t 'views.pagination.first'), url, {:remote => remote} %>
<% end -%>
diff --git a/app/views/kaminari/_last_page.html.erb b/app/views/kaminari/_last_page.html.erb
index a075d76..de3ad67 100644
--- a/app/views/kaminari/_last_page.html.erb
+++ b/app/views/kaminari/_last_page.html.erb
@@ -7,7 +7,7 @@
remote: data-remote
-%>
<% unless current_page.last? -%>
-
+
<%= link_to raw(t 'views.pagination.last'), url, {:remote => remote} %>
<% end -%>
diff --git a/app/views/kaminari/_next_page.html.erb b/app/views/kaminari/_next_page.html.erb
index 70c9ca1..01aa40b 100644
--- a/app/views/kaminari/_next_page.html.erb
+++ b/app/views/kaminari/_next_page.html.erb
@@ -8,7 +8,7 @@
-%>
<% unless current_page.last? -%>
-
+
<%= link_to raw(t 'views.pagination.next'), url, :remote => remote, :rel => 'next' %>
<% end -%>
diff --git a/app/views/kaminari/_prev_page.html.erb b/app/views/kaminari/_prev_page.html.erb
index faf0e16..626215f 100644
--- a/app/views/kaminari/_prev_page.html.erb
+++ b/app/views/kaminari/_prev_page.html.erb
@@ -7,7 +7,7 @@
remote: data-remote
-%>
<% unless current_page.first? -%>
-
+
<%= link_to raw(t 'views.pagination.previous'), url, :remote => remote, :rel => 'prev' %>
<% end -%>