From 657a76c4e56e832bdb4aef60c6f1f143aee5417c Mon Sep 17 00:00:00 2001 From: Allen Bargi Date: Mon, 18 Apr 2011 21:19:13 +0800 Subject: [PATCH] simple_form now items in a collection inside a span. updated obsolete info for the initializer file. --- lib/generators/simple_form/templates/simple_form.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/generators/simple_form/templates/simple_form.rb b/lib/generators/simple_form/templates/simple_form.rb index 44d62a0b..9b9746ff 100644 --- a/lib/generators/simple_form/templates/simple_form.rb +++ b/lib/generators/simple_form/templates/simple_form.rb @@ -40,8 +40,8 @@ SimpleForm.setup do |config| # You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none. # config.collection_wrapper_tag = nil - # You can wrap each item in a collection of radio/check boxes with a tag, defaulting to none. - # config.item_wrapper_tag = nil + # You can wrap each item in a collection of radio/check boxes with a tag, defaulting to span. + # config.item_wrapper_tag = :span # Series of attemps to detect a default label method for collection. # config.collection_label_methods = [ :to_label, :name, :title, :to_s ]