summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_label_page_create.html.haml
blob: bd66f39fa594870bf3c05167a2d16a16c5fa0c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.dropdown-page-two.dropdown-new-label
  = dropdown_title("Create new label", back: true)
  = 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
          &nbsp
    .dropdown-label-color-input
      .dropdown-label-color-preview.js-dropdown-label-color-preview
      %input#new_label_color.default-dropdown-input{ type: "text", placeholder: "Assign custom color like #FF0000" }
    .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