% page_title "Pools" %>
<% meta_description "See thousands of translated anime & hentai comics, galleries, doujins, and more on #{Danbooru.config.app_name}." %>
<%= render "secondary_links" %>
<%= 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) %>