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
|
2018-03-17 18:26:18 +05:30
|
|
|
%input#new_label_name.default-dropdown-input{ type: "text", placeholder: _('Name new label') }
|
2016-06-02 11:05:42 +05:30
|
|
|
.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
|
2018-03-17 18:26:18 +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" }
|
2018-03-17 18:26:18 +05:30
|
|
|
= _('Create')
|
2016-06-02 11:05:42 +05:30
|
|
|
%button.btn.btn-default.pull-right.js-cancel-label-btn{ type: "button" }
|
2018-03-17 18:26:18 +05:30
|
|
|
= _('Cancel')
|