diff options
author | Andrew Tomaka <atomaka@gmail.com> | 2015-03-23 17:22:37 -0400 |
---|---|---|
committer | Andrew Tomaka <atomaka@gmail.com> | 2015-03-23 17:22:50 -0400 |
commit | 4349e524f47e9081972057584d01579fd6588c1b (patch) | |
tree | 14b5c280ed8672fcabb36eb791c2d4e205c1ccef /app | |
parent | c03374919fac691c3ecb7eb4f844dbbce5dc35fa (diff) | |
download | gitlab-ce-4349e524f47e9081972057584d01579fd6588c1b.tar.gz |
Update broadcast messages to use color_field
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/broadcast_messages/index.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml index c0afaf16d8f..1ecc0c9916c 100644 --- a/app/views/admin/broadcast_messages/index.html.haml +++ b/app/views/admin/broadcast_messages/index.html.haml @@ -21,12 +21,12 @@ .form-group.js-toggle-colors-container.hide = f.label :color, "Background Color", class: 'control-label' .col-sm-10 - = f.text_field :color, placeholder: "#AA33EE", class: "form-control" + = f.color_field :color, placeholder: "#AA33EE", class: "form-control" .light 6 character hex values starting with a # sign. .form-group.js-toggle-colors-container.hide = f.label :font, "Font Color", class: 'control-label' .col-sm-10 - = f.text_field :font, placeholder: "#224466", class: "form-control" + = f.color_field :font, placeholder: "#224466", class: "form-control" .light 6 character hex values starting with a # sign. .form-group = f.label :starts_at, class: 'control-label' |