Change label color text field type to "color"
This commit is contained in:
parent
e64e0104fa
commit
7606b93c26
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
.col-sm-10
|
||||
.input-group
|
||||
.input-group-addon.label-color-preview
|
||||
= f.text_field :color, placeholder: "#AA33EE", class: "form-control"
|
||||
= f.color_field :color, placeholder: "#AA33EE", class: "form-control"
|
||||
.help-block
|
||||
6 character hex values starting with a # sign.
|
||||
%br
|
||||
|
|
Loading…
Reference in a new issue