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

No need for tag here.

This commit is contained in:
José Valim 2011-09-05 18:32:01 +03:00
parent 7350dc3ab9
commit a230507eca

View file

@ -4,7 +4,7 @@ SimpleForm.setup do |config|
# You can remove any component from the wrapper, change the order or even
# add your own to the stack. The options given to the wrappers method
# are used to wrap the whole input (if any exists).
config.wrappers :tag => :div, :class => :input, :error_class => :field_with_errors do |b|
config.wrappers :class => :input, :error_class => :field_with_errors do |b|
b.use :placeholder
b.use :label_input
b.use :hint, :tag => :span, :class => :hint