2016-06-02 11:05:42 +05:30
|
|
|
.dropdown-page-two.dropdown-new-label
|
2017-09-10 17:25:29 +05:30
|
|
|
= dropdown_title("Create new label", options: { back: true })
|
2016-06-02 11:05:42 +05:30
|
|
|
= dropdown_content do
|
|
|
|
.dropdown-labels-error.js-label-error
|
|
|
|
%input#new_label_name.default-dropdown-input{ type: "text", placeholder: "Name new label" }
|
|
|
|
.suggest-colors.suggest-colors-dropdown
|
|
|
|
- suggested_colors.each do |color|
|
|
|
|
= link_to '#', style: "background-color: #{color}", data: { color: color } do
|
|
|
|
 
|
|
|
|
.dropdown-label-color-input
|
|
|
|
.dropdown-label-color-preview.js-dropdown-label-color-preview
|
2017-08-17 22:00:37 +05:30
|
|
|
%input#new_label_color.default-dropdown-input{ type: "text", placeholder: "Assign custom color like #FF0000" }
|
2016-06-02 11:05:42 +05:30
|
|
|
.clearfix
|
|
|
|
%button.btn.btn-primary.pull-left.js-new-label-btn{ type: "button" }
|
|
|
|
Create
|
|
|
|
%button.btn.btn-default.pull-right.js-cancel-label-btn{ type: "button" }
|
|
|
|
Cancel
|