<% page_title "Order Pool" %> <%= render "pools/secondary_links" %>

Order Pool: <%= @pool.pretty_name %>

<%= edit_form_for(@pool, format: :js, html: { id: "ordering-form" }) do |f| %> <% if @pool.post_count <= Pool::POOL_ORDER_LIMIT %>

Drag and drop the list below to determine ordering.

<%= render "posts/partials/common/inline_blacklist" %> <% else %>

Reorder the post IDs in the text box below to reorder the pool.

<%= f.input :post_ids_string, as: :text, label: "Posts" %> <% end %> <%= f.submit "Save" %> <% end %>