diff options
| author | Zog | 2018-03-13 10:41:48 +0100 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-04 11:10:39 +0200 | 
| commit | d034376737c27e48a7a3413b82461a65999ee105 (patch) | |
| tree | c657811ee569ce1f2487c07f921fdae3382eb726 /config/initializers | |
| parent | a77307ca49c57dc18823f6aece2424ccb3c5a7c2 (diff) | |
| download | chouette-core-d034376737c27e48a7a3413b82461a65999ee105.tar.bz2 | |
Refs #6090; CustomFields inputs made easy
:warning: We'll have to refine this code once StopArea are linked to
workgroups
Diffstat (limited to 'config/initializers')
| -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 4b9bd320d..8dbc3afee 100644 --- a/config/initializers/simple_form_bootstrap.rb +++ b/config/initializers/simple_form_bootstrap.rb @@ -72,9 +72,9 @@ SimpleForm.setup do |config|      b.use :placeholder      b.optional :maxlength      b.optional :readonly -    b.use :label, class: 'col-sm-3 control-label' +    b.use :label, class: 'col-sm-4 col-xs-5 control-label' -    b.wrapper tag: 'div', class: 'col-sm-9' do |ba| +    b.wrapper tag: 'div', class: 'col-sm-8 col-xs-7' do |ba|        ba.use :input        ba.use :error, wrap_with: { tag: 'span', class: 'help-block small' }        ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block small' } | 
