improved ui for browsing through pools
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
<ul>
|
||||
<% post.pools.each do |pool| %>
|
||||
<li>
|
||||
<% if pool.neighbors(post).previous %>
|
||||
<%= link_to "«".html_safe, post_path(pool.neighbors(post).previous) %>
|
||||
<% else %>
|
||||
«
|
||||
<% end %>
|
||||
<% if pool.neighbors(post).next %>
|
||||
<%= link_to "»".html_safe, post_path(pool.neighbors(post).next) %>
|
||||
<% else %>
|
||||
»
|
||||
<% end %>
|
||||
<%= link_to pool.pretty_name, pool_path(pool) %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user