%= form_tag(pool_element_path, :class => "simple_form", :remote => true, :format => :js) do %>
<%= hidden_field_tag "post_id", @post.id %>
<%= text_field_tag "pool_name", "", :size => 20, :data => { autocomplete: "pool" } %>
Search for a pool containing (<%= link_to "see full list", all_select_pool_element_path, :remote => true %>)
<%= submit_tag "Submit" %>
<% end %>
<% if recent_updated_pools.any? %>
Recent Pools
<% recent_updated_pools.each do |pool| %>
<%= content_tag :li, pool.pretty_name, "data-value" => pool.name %>
<% end %>
<% end %>