1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
This commit is contained in:
likys12 2018-03-29 18:37:45 +08:00
parent dd05b56df1
commit d4a926225c

View file

@ -1066,7 +1066,7 @@ Finally, add a new wrapper to the config/initializers/simple_form.rb file:
config.wrappers :with_numbers, tag: 'div', class: 'row', error_class: 'error' do |b|
b.use :html5
b.use :number, wrap_with: { tag: 'div', class: 'span1 number'}
b.wrapper tag: 'div', :class: 'span8' do |ba|
b.wrapper tag: 'div', class: 'span8' do |ba|
ba.use :placeholder
ba.use :label
ba.use :input