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

<%= simple_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 %>
<%= render "pools/secondary_links" %> <% content_for(:page_title) do %> Order Pool - <%= Danbooru.config.app_name %> <% end %>