lib/active_admin/admin/questionnaires.rb in qwester-0.1.1 vs lib/active_admin/admin/questionnaires.rb in qwester-0.1.2
- old
+ new
@@ -21,10 +21,10 @@
form do |f|
f.inputs "Details" do
f.input :title
if defined?(Ckeditor)
- f.input :description, :as => :ckeditor, :input_html => { :height => 100, :toolbar => 'Basic' }
+ f.input :description, :as => :ckeditor, :input_html => { :height => 100 }
else
f.input :description, :input_html => { :rows => 3}
end
f.input :button_image, :as => :file, :hint => f.template.image_tag(f.object.button_image.url(:link))
f.input :questions, :as => :check_boxes, :collection => Question.all