From 44f1301b64ae8e823e77cff5d184e8691db7975b Mon Sep 17 00:00:00 2001 From: Vasiliy Ermolovich Date: Fri, 7 Sep 2012 22:14:40 +0300 Subject: [PATCH] update CHANGELOG --- CHANGELOG.md | 4 +++- lib/simple_form.rb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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