add category field to pools
This commit is contained in:
@@ -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 %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user