From e7473f193cca9c4a18324533228446e6e719d64e Mon Sep 17 00:00:00 2001 From: Toks Date: Tue, 24 Sep 2013 11:34:05 -0400 Subject: [PATCH] Improve new pool category select ui --- app/views/pools/new.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/pools/new.html.erb b/app/views/pools/new.html.erb index b9280948d..b6cfaa312 100644 --- a/app/views/pools/new.html.erb +++ b/app/views/pools/new.html.erb @@ -2,10 +2,10 @@
<%= simple_form_for(@pool) do |f| %>

New Pool

- <%= 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" %>