adding html5 component by default for the prepend and append wrappers as well - #471
This commit is contained in:
parent
fba643e9f7
commit
2083ecc460
|
@ -57,6 +57,7 @@ SimpleForm.setup do |config|
|
|||
end
|
||||
|
||||
config.wrappers :prepend, :tag => 'div', :class => "control-group", :error_class => 'error' do |b|
|
||||
b.use :html5
|
||||
b.use :placeholder
|
||||
b.use :label
|
||||
b.wrapper :tag => 'div', :class => 'controls' do |input|
|
||||
|
@ -69,6 +70,7 @@ SimpleForm.setup do |config|
|
|||
end
|
||||
|
||||
config.wrappers :append, :tag => 'div', :class => "control-group", :error_class => 'error' do |b|
|
||||
b.use :html5
|
||||
b.use :placeholder
|
||||
b.use :label
|
||||
b.wrapper :tag => 'div', :class => 'controls' do |input|
|
||||
|
|
Loading…
Reference in New Issue