add category field to pools

This commit is contained in:
Toks
2013-05-06 12:14:42 -04:00
parent 1d56f237a8
commit a9efb93e99
4 changed files with 25 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
<%= f.input :name, :input_html => { :value => @pool.pretty_name } %>
<%= f.input :description %>
<%= f.input :post_ids, :label => "Posts" %>
<%= f.input :category, :collection => ["series", "collection"], :include_blank => false %>
<%= f.input :is_active %>
<%= f.button :submit %>
<% end %>

View File

@@ -4,6 +4,7 @@
<h1>New Pool</h1>
<%= f.input :name %>
<%= f.input :description %>
<%= f.input :category, :collection => ["series", "collection"], :include_blank => false %>
<%= f.button :submit %>
<% end %>
</div>