summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-04 18:49:56 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-05-04 18:49:56 +0000
commit41d0f23108ddce3f9285898de75508564edd80b3 (patch)
tree62afcbdc1acb3662b7a0ee2eb56c02c2142d4429 /app/views/shared
parent3a2b60f7a0109cdb84e8727a2625318a746e84dc (diff)
downloadgitlab-ce-41d0f23108ddce3f9285898de75508564edd80b3.tar.gz
Resolve "Web GUI: Unable to create new branch from commit SHA"
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/_ref_dropdown.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/shared/_ref_dropdown.html.haml b/app/views/shared/_ref_dropdown.html.haml
new file mode 100644
index 00000000000..96f68c80c48
--- /dev/null
+++ b/app/views/shared/_ref_dropdown.html.haml
@@ -0,0 +1,7 @@
+- dropdown_class = local_assigns.fetch(:dropdown_class, '')
+
+.dropdown-menu.dropdown-menu-selectable{ class: dropdown_class }
+ = dropdown_title "Select Git revision"
+ = dropdown_filter "Filter by Git revision"
+ = dropdown_content
+ = dropdown_loading