diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-11 23:19:47 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-15 11:50:44 -0500 |
commit | f396b2e6d09fbfe47201ceb0f897c508dabb1b1a (patch) | |
tree | f12d5ade7fcf4f5a98bb22e02132055404bdb6c3 /app/views/shared/issuable/_label_page_create.html.haml | |
parent | 50998e69bf743bda5d053262237145bd240bca8b (diff) | |
download | gitlab-ce-f396b2e6d09fbfe47201ceb0f897c508dabb1b1a.tar.gz |
Reuse partial for Create Label page
Diffstat (limited to 'app/views/shared/issuable/_label_page_create.html.haml')
-rw-r--r-- | app/views/shared/issuable/_label_page_create.html.haml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_label_page_create.html.haml b/app/views/shared/issuable/_label_page_create.html.haml new file mode 100644 index 00000000000..89bc8368269 --- /dev/null +++ b/app/views/shared/issuable/_label_page_create.html.haml @@ -0,0 +1,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.dropdown-input-field{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 + %input#new_label_color.dropdown-input-field{ type: "text" } + .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 |