1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

simple_form now items in a collection inside a span. updated obsolete info for the initializer file.

This commit is contained in:
Allen Bargi 2011-04-18 21:19:13 +08:00 committed by Carlos Antonio da Silva
parent f66207a063
commit 657a76c4e5

View file

@ -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. # You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
# config.collection_wrapper_tag = nil # config.collection_wrapper_tag = nil
# You can wrap each item in a collection of radio/check boxes with a tag, defaulting to none. # You can wrap each item in a collection of radio/check boxes with a tag, defaulting to span.
# config.item_wrapper_tag = nil # config.item_wrapper_tag = :span
# Series of attemps to detect a default label method for collection. # Series of attemps to detect a default label method for collection.
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ] # config.collection_label_methods = [ :to_label, :name, :title, :to_s ]