<%= form_tag(pool_element_path) do %> <%= hidden_field_tag "post_id", @post.id %> <%= text_field_tag "pool_name", "", :size => 20 %> <%= submit_tag "Select" %> <% end %> <% if recent_updated_pools.any? %>

Recent Pools

    <% recent_updated_pools.each do |pool| %>
  • <%= pool.name %>
  • <% end %>
<% end %>