diff options
| author | Alban Peignier | 2017-12-21 18:09:33 +0100 |
|---|---|---|
| committer | Alban Peignier | 2017-12-21 18:09:33 +0100 |
| commit | d05ebcd0d130d87e9f36af256dc7b056150b0b21 (patch) | |
| tree | 87bfe958ccdf26a3c4ddee8bee9ee38e67a92cb5 | |
| parent | dcbb755e047907b3e9f032534556c05b38bf7073 (diff) | |
| download | chouette-core-d05ebcd0d130d87e9f36af256dc7b056150b0b21.tar.bz2 | |
Use a default color by waiting color selector. Refs #5301
| -rw-r--r-- | app/views/purchase_windows/_form.html.slim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/purchase_windows/_form.html.slim b/app/views/purchase_windows/_form.html.slim index 7a3aabcf4..8821ecc8a 100644 --- a/app/views/purchase_windows/_form.html.slim +++ b/app/views/purchase_windows/_form.html.slim @@ -3,6 +3,14 @@ .col-lg-12 = f.input :name // = f.input :color, as: :select, boolean_style: :inline, collection: Chouette::PurchaseWindow.color.values, input_html: {class: 'color_selector '} + div + .form-group + label.select.optional.col-sm-4.col-xs-5.control-label + = @purchase_window.class.human_attribute_name :color + div.col-sm-8.col-xs-7 + span.fa.fa-circle style="color:#7F551B" + + = f.input :color, as: :hidden, input_html: { value: '#7F551B' } .separator |
