From 8fb55a5ff32a697e99e90d78a691f2541d043324 Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 17 Jul 2013 18:46:23 -0400 Subject: [PATCH] fixes #1858 --- app/views/pools/edit.html.erb | 3 ++- app/views/pools/new.html.erb | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/pools/edit.html.erb b/app/views/pools/edit.html.erb index 2f3d621c1..8983cf727 100644 --- a/app/views/pools/edit.html.erb +++ b/app/views/pools/edit.html.erb @@ -3,7 +3,8 @@ <%= simple_form_for(@pool) do |f| %>

Edit Pool: <%= @pool.pretty_name %>

<%= 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 %> diff --git a/app/views/pools/new.html.erb b/app/views/pools/new.html.erb index 2a52fe416..1c379f680 100644 --- a/app/views/pools/new.html.erb +++ b/app/views/pools/new.html.erb @@ -3,7 +3,8 @@ <%= simple_form_for(@pool) do |f| %>

New Pool

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