diff options
| author | jpl | 2017-06-16 11:37:20 +0200 | 
|---|---|---|
| committer | jpl | 2017-06-16 11:37:20 +0200 | 
| commit | 0b6371b7248a2a731683d20f8b8bc12eb5f35bad (patch) | |
| tree | 3d2859a7a585edea1bfba4a9404ef06f278701ef /config | |
| parent | 1e38848dc427f7fe5bd5b0079c2fb9b1d491dca2 (diff) | |
| download | chouette-core-0b6371b7248a2a731683d20f8b8bc12eb5f35bad.tar.bz2 | |
Refs #3789: changing select input by select2 one
Diffstat (limited to 'config')
| -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 67dfe1ceb..d90ea6398 100644 --- a/config/initializers/simple_form_bootstrap.rb +++ b/config/initializers/simple_form_bootstrap.rb @@ -58,9 +58,9 @@ SimpleForm.setup do |config|      b.optional :pattern      b.optional :min_max      b.optional :readonly -    b.use :label, class: 'col-sm-4 control-label' +    b.use :label, class: 'col-sm-4 col-xs-5 control-label' -    b.wrapper tag: 'div', class: 'col-sm-8' do |ba| +    b.wrapper tag: 'div', class: 'col-sm-8 col-xs-7' do |ba|        ba.use :input, class: 'form-control'        ba.use :error, wrap_with: { tag: 'span', class: 'help-block small' }        ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block small' }  | 
