diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-19 15:02:05 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-06-19 15:02:05 +0000 |
commit | 1ecfc7d8a53511997ac9b9fe52cde64ddc2a355d (patch) | |
tree | 18604b10beca30f6ab67906df2861223122dec42 /app/views/admin/broadcast_messages | |
parent | 17eff579655e83affb0eff98ec6ef31b3bc2b6ae (diff) | |
download | gitlab-ce-1ecfc7d8a53511997ac9b9fe52cde64ddc2a355d.tar.gz |
Use color inputs for broadcast messages
Diffstat (limited to 'app/views/admin/broadcast_messages')
-rw-r--r-- | app/views/admin/broadcast_messages/_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/broadcast_messages/_form.html.haml b/app/views/admin/broadcast_messages/_form.html.haml index 2269fb1fd8c..5a4ed1c3a2a 100644 --- a/app/views/admin/broadcast_messages/_form.html.haml +++ b/app/views/admin/broadcast_messages/_form.html.haml @@ -21,11 +21,11 @@ .form-group.js-toggle-colors-container.hide = f.label :color, "Background Color", class: 'control-label' .col-sm-10 - = f.text_field :color, class: "form-control" + = f.color_field :color, class: "form-control" .form-group.js-toggle-colors-container.hide = f.label :font, "Font Color", class: 'control-label' .col-sm-10 - = f.text_field :font, class: "form-control" + = f.color_field :font, class: "form-control" .form-group = f.label :starts_at, class: 'control-label' .col-sm-10.datetime-controls |