<%= render "search", :path => pools_path %> <%= table_for @pools, width: "100%" do |t| %> <% t.column "Name", {width: "60%"} do |pool| %> <%= link_to pool.pretty_name, pool_path(pool) %> <% if pool.is_deleted? %> (deleted) <% end %> <% if pool.last_page > 1 %> <%= link_to "page #{pool.last_page}", pool_path(pool, :page => pool.last_page), :class => "last-page" %> <% end %> <% end %> <% t.column "Count", {width: "10%"} do |pool| %> <%= pool.post_count %> <% end %> <% end %> <%= numbered_paginator(@pools) %>
<%= render "secondary_links" %> <% content_for(:html_header) do %> <% end %>