Adds foundation 6 🎉
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<li>
|
||||
<li class="ellipsis" aria-hidden="true">
|
||||
<%= t("views.pagination.truncate").html_safe %>
|
||||
</li>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<li>
|
||||
<li class="pagination-next">
|
||||
<%= link_to t("views.pagination.next").html_safe, url, :rel => "next", :remote => remote %>
|
||||
</li>
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
<li class="<%= 'current' if page.current? %>">
|
||||
<%= link_to page, url, {:remote => remote, :rel => page.next? ? "next" : page.prev? ? "prev" : nil} %>
|
||||
</li>
|
||||
<% if page.current? %>
|
||||
<li class="current">
|
||||
<span class="show-for-sr"><%= t("views.pagination.current") %></span>
|
||||
<%= page %>
|
||||
</li>
|
||||
<% else %>
|
||||
<li>
|
||||
<%= link_to page, url, {:remote => remote, :rel => page.next? ? "next" : page.prev? ? "prev" : nil} %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%= paginator.render do -%>
|
||||
<div class="pagination-centered">
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
<ul class="pagination text-center margin-top" role="navigation" aria-label="Pagination">
|
||||
<%= first_page_tag unless current_page.first? %>
|
||||
<%= prev_page_tag unless current_page.first? %>
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<li>
|
||||
<li class="pagination-previous">
|
||||
<%= link_to t("views.pagination.previous").html_safe, url, :rel => "prev", :remote => remote %>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user