summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_label_page_create.html.haml
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-04-11 23:19:47 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-04-15 11:50:44 -0500
commitf396b2e6d09fbfe47201ceb0f897c508dabb1b1a (patch)
treef12d5ade7fcf4f5a98bb22e02132055404bdb6c3 /app/views/shared/issuable/_label_page_create.html.haml
parent50998e69bf743bda5d053262237145bd240bca8b (diff)
downloadgitlab-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.haml17
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
+ &nbsp
+ .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