summaryrefslogtreecommitdiff
path: root/app/views/projects/protected_tags/_dropdown.html.haml
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-07-10 09:04:10 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-07-14 10:26:26 +0200
commit1814c6776df67d13466cf134f7ecd0d98282c963 (patch)
tree7e8dc6e7a370c035c425c60afef650e3ca720143 /app/views/projects/protected_tags/_dropdown.html.haml
parent9654295dbb9ab29bb2eb80a384c4f72e8646fb68 (diff)
downloadgitlab-ce-1814c6776df67d13466cf134f7ecd0d98282c963.tar.gz
Use shared protected tag views for CE-partialsbvl-shared-views-for-protected-refs
So they are reusable for EE later
Diffstat (limited to 'app/views/projects/protected_tags/_dropdown.html.haml')
-rw-r--r--app/views/projects/protected_tags/_dropdown.html.haml15
1 files changed, 0 insertions, 15 deletions
diff --git a/app/views/projects/protected_tags/_dropdown.html.haml b/app/views/projects/protected_tags/_dropdown.html.haml
deleted file mode 100644
index 9b6923210f7..00000000000
--- a/app/views/projects/protected_tags/_dropdown.html.haml
+++ /dev/null
@@ -1,15 +0,0 @@
-= f.hidden_field(:name)
-
-= dropdown_tag('Select tag or create wildcard',
- options: { toggle_class: 'js-protected-tag-select js-filter-submit wide git-revision-dropdown-toggle',
- filter: true, dropdown_class: "dropdown-menu-selectable capitalize-header git-revision-dropdown", placeholder: "Search protected tags",
- footer_content: true,
- data: { show_no: true, show_any: true, show_upcoming: true,
- selected: params[:protected_tag_name],
- project_id: @project.try(:id) } }) do
-
- %ul.dropdown-footer-list
- %li
- %button{ class: "create-new-protected-tag-button js-create-new-protected-tag", title: "New Protected Tag" }
- Create wildcard
- %code