Skip to content

Commit fba643e

Browse files
committed
enable html5 component by default for bootstrap - fixes heartcombo#471
1 parent 34ebdd2 commit fba643e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/generators/simple_form/templates/config/initializers/simple_form.rb.tt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ SimpleForm.setup do |config|
4646
end
4747
<% if options.bootstrap? %>
4848
config.wrappers :bootstrap, :tag => 'div', :class => 'control-group', :error_class => 'error' do |b|
49+
b.use :html5
4950
b.use :placeholder
5051
b.use :label
5152
b.wrapper :tag => 'div', :class => 'controls' do |ba|

0 commit comments

Comments
 (0)