Improve new pool category select ui

This commit is contained in:
Toks
2013-09-24 11:34:05 -04:00
parent d46dc773bb
commit e7473f193c

View File

@@ -2,10 +2,10 @@
<div id="c-new">
<%= simple_form_for(@pool) do |f| %>
<h1>New Pool</h1>
<%= f.input :name, :as => :string %>
<%= 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 => false %>
<%= f.input :category, :collection => ["series", "collection"], :include_blank => true, :selected => "", :required => true %>
<%= f.input :is_active %>
<%= f.button :submit, "Submit" %>
<%= dtext_preview_button "pool", "description" %>