summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-02-22 01:01:22 +0100
committerAlex Legler <alex@a3li.li>2015-02-22 01:01:22 +0100
commit6a5810db065cdc99c10c13e263ccdfd16f4e2471 (patch)
treeb9afb082a9d3f273c065107ca34862cdc2cdb95b
parentLimit pages shown in pagination (diff)
downloadfrontend-6a5810db065cdc99c10c13e263ccdfd16f4e2471.tar.gz
frontend-6a5810db065cdc99c10c13e263ccdfd16f4e2471.tar.bz2
frontend-6a5810db065cdc99c10c13e263ccdfd16f4e2471.zip
erb fix
-rw-r--r--views/pagination.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/pagination.erb b/views/pagination.erb
index 9b85ec9..5b1b3c5 100644
--- a/views/pagination.erb
+++ b/views/pagination.erb
@@ -21,6 +21,7 @@
<% end %>
<% if (max_pages - max) > 10 %>
<li><a href="<%= max_pages %>"><%= max_pages %></a></li>
+ <% end %>
<% if current_page == max_pages %>
<li class="disabled">
<a href="#" aria-label="Next">