<div id="c-pools">
  <div id="c-new">
    <h1>New Pool</h1>

    <p style="font-weight: bold;">Before creating a pool, read the <%= link_to "pool guidelines", wiki_page_path(:id => "howto:pools") %>.</p>

    <%= simple_form_for(@pool) do |f| %>
      <%= f.input :name, :as => :string, :required => true %>
      <%= dtext_field "pool", "description" %>
      <%= f.input :post_ids, :label => "Posts" %>
      <%= f.input :category, :collection => ["series", "collection"], :include_blank => true, :selected => "", :required => true %>
      <%= f.input :is_active %>
      <%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
      <%= dtext_preview_button "pool", "description" %>
    <% end %>
  </div>
</div>

<%= render "secondary_links" %>

<% content_for(:page_title) do %>
  New Pool - <%= Danbooru.config.app_name %>
<% end %>
