Change label color text field type to "color"

This commit is contained in:
Benjamin Kammerl 2015-02-11 10:02:36 +00:00
parent e64e0104fa
commit 7606b93c26

View file

@ -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