From 8bb1da36f0d4381f15171586d0aa969ccffb423e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Fri, 21 Mar 2014 14:19:31 -0300 Subject: [PATCH] Fix the wrapper_mappings documentation [ci skip] --- lib/simple_form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_form.rb b/lib/simple_form.rb index 3d4c4d01..ac8c3905 100644 --- a/lib/simple_form.rb +++ b/lib/simple_form.rb @@ -120,7 +120,7 @@ See https://github.com/plataformatec/simple_form/pull/997 for more information. # type as key and the wrapper that will be used for all inputs with specified type. # e.g { string: :string_wrapper, boolean: :boolean_wrapper } # You can also set a wrapper mapping per form basis. - # e.g simple_form_for(@foo, wrapper_mapping: { checkbox: :bootstrap_checkbox }) + # e.g simple_form_for(@foo, wrapper_mappings: { check_boxes: :bootstrap_checkbox }) mattr_accessor :wrapper_mappings @@wrapper_mappings = nil