Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tomaka <atomaka@gmail.com>2015-03-24 00:22:37 +0300
committerAndrew Tomaka <atomaka@gmail.com>2015-03-24 00:22:50 +0300
commit4349e524f47e9081972057584d01579fd6588c1b (patch)
tree14b5c280ed8672fcabb36eb791c2d4e205c1ccef /app/views/admin
parentc03374919fac691c3ecb7eb4f844dbbce5dc35fa (diff)
Update broadcast messages to use color_field
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/broadcast_messages/index.html.haml4
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'