diff --git a/CHANGELOG.md b/CHANGELOG.md index 966061a8..e2e28f97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ ## 2.1.0.dev ### enhancements - + * Allow to specify custom wrappers for input types. + ([@nashby](https://github.com/nashby)) + Closes [#636](https://github.com/plataformatec/simple_form/issues/636) * Use separate config file to do bootstrap specific configuration. ([@nashby](https://github.com/nashby)) diff --git a/lib/simple_form.rb b/lib/simple_form.rb index adf2170d..889907d1 100644 --- a/lib/simple_form.rb +++ b/lib/simple_form.rb @@ -96,7 +96,7 @@ module SimpleForm @@input_mappings = nil # Custom wrappers for input types. This should be a hash containing an input - # type as key and the wrapper that will be used for all inputs with specified type + # type as key and the wrapper that will be used for all inputs with specified type. # e.g { :string => :string_wrapper, :boolean => :boolean_wrapper } mattr_accessor :wrapper_mappings @@wrapper_mappings = nil