2016-04-12 00:19:47 -04:00
|
|
|
.dropdown-page-two.dropdown-new-label
|
|
|
|
= dropdown_title("Create new label", back: true)
|
|
|
|
= dropdown_content do
|
|
|
|
.dropdown-labels-error.js-label-error
|
2016-04-14 20:47:53 -04:00
|
|
|
%input#new_label_name.default-dropdown-input{ type: "text", placeholder: "Name new label" }
|
2016-04-12 00:19:47 -04:00
|
|
|
.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
|
2016-11-16 18:21:28 -05:00
|
|
|
%input#new_label_color.default-dropdown-input{ type: "text", placeholder: "Assign custom color like #FF0000" }
|
2016-04-12 00:19:47 -04:00
|
|
|
.clearfix
|
2016-04-13 15:12:40 -04:00
|
|
|
%button.btn.btn-primary.pull-left.js-new-label-btn{ type: "button" }
|
2016-04-12 00:19:47 -04:00
|
|
|
Create
|
2016-04-13 15:12:40 -04:00
|
|
|
%button.btn.btn-default.pull-right.js-cancel-label-btn{ type: "button" }
|
2016-04-12 00:19:47 -04:00
|
|
|
Cancel
|