This commit is contained in:
Toks
2013-07-17 18:46:23 -04:00
parent 9f846c5a2c
commit 8fb55a5ff3
2 changed files with 4 additions and 2 deletions

View File

@@ -3,7 +3,8 @@
<%= simple_form_for(@pool) do |f| %>
<h1>Edit Pool: <%= @pool.pretty_name %></h1>
<%= f.input :name, :as => :string, :input_html => { :value => @pool.pretty_name } %>
<%= f.input :description %>
<%= dtext_field "pool", "description" %>
<%= dtext_preview_button "pool", "description" %>
<%= f.input :post_ids, :label => "Posts" %>
<%= f.input :category, :collection => ["series", "collection"], :include_blank => false %>
<%= f.input :is_active %>

View File

@@ -3,7 +3,8 @@
<%= simple_form_for(@pool) do |f| %>
<h1>New Pool</h1>
<%= f.input :name, :as => :string %>
<%= f.input :description %>
<%= dtext_field "pool", "description" %>
<%= dtext_preview_button "pool", "description" %>
<%= f.input :post_ids, :label => "Posts" %>
<%= f.input :category, :collection => ["series", "collection"], :include_blank => false %>
<%= f.input :is_active %>