diff options
author | Andrew Tomaka <atomaka@gmail.com> | 2015-03-24 12:27:26 -0400 |
---|---|---|
committer | Andrew Tomaka <atomaka@gmail.com> | 2015-03-24 12:27:26 -0400 |
commit | 83b5a9ae2bfb594bcb5a9a931d6781ba05c9b9ef (patch) | |
tree | 413a7651fa0bfca5a25ff7aa7d83ccde77286a61 /app | |
parent | 4349e524f47e9081972057584d01579fd6588c1b (diff) | |
download | gitlab-ce-83b5a9ae2bfb594bcb5a9a931d6781ba05c9b9ef.tar.gz |
Update help texts and default value setting
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/broadcast_messages/index.html.haml | 6 | ||||
-rw-r--r-- | app/views/projects/labels/_form.html.haml | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/app/views/admin/broadcast_messages/index.html.haml b/app/views/admin/broadcast_messages/index.html.haml index 1ecc0c9916c..7e29311bf42 100644 --- a/app/views/admin/broadcast_messages/index.html.haml +++ b/app/views/admin/broadcast_messages/index.html.haml @@ -21,13 +21,11 @@ .form-group.js-toggle-colors-container.hide = f.label :color, "Background Color", class: 'control-label' .col-sm-10 - = f.color_field :color, placeholder: "#AA33EE", class: "form-control" - .light 6 character hex values starting with a # sign. + = f.color_field :color, value: "#AA33EE", class: "form-control" .form-group.js-toggle-colors-container.hide = f.label :font, "Font Color", class: 'control-label' .col-sm-10 - = f.color_field :font, placeholder: "#224466", class: "form-control" - .light 6 character hex values starting with a # sign. + = f.color_field :font, value: "#224466", class: "form-control" .form-group = f.label :starts_at, class: 'control-label' .col-sm-10.datetime-controls diff --git a/app/views/projects/labels/_form.html.haml b/app/views/projects/labels/_form.html.haml index 2305fce112e..ad993db6c0b 100644 --- a/app/views/projects/labels/_form.html.haml +++ b/app/views/projects/labels/_form.html.haml @@ -16,9 +16,9 @@ .col-sm-10 .input-group .input-group-addon.label-color-preview - = f.color_field :color, placeholder: "#AA33EE", class: "form-control" + = f.color_field :color, value: "#AA33EE", class: "form-control" .help-block - 6 character hex values starting with a # sign. + Choose any color. %br Or you can choose one of suggested colors below |