diff options
| -rw-r--r-- | config/initializers/simple_form_bootstrap.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/simple_form_bootstrap.rb b/config/initializers/simple_form_bootstrap.rb index f693a4f..720174f 100644 --- a/config/initializers/simple_form_bootstrap.rb +++ b/config/initializers/simple_form_bootstrap.rb @@ -3,8 +3,8 @@ SimpleForm.setup do |config|    config.wrappers :bootstrap, :tag => 'div', :class => 'form-group', :error_class => 'error' do |b|      b.use :html5      b.use :placeholder -    b.use :label -    b.wrapper :tag => 'div', :class => 'controls' do |ba| +    b.use :label, :class => 'col-sm-2' +    b.wrapper :tag => 'div', :class => 'col-sm-10' do |ba|        ba.use :input        ba.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' }        ba.use :hint,  :wrap_with => { :tag => 'p', :class => 'help-block' }  | 
