summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/dropdowns/_branch.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/merge_requests/dropdowns/_branch.html.haml')
-rw-r--r--app/views/projects/merge_requests/dropdowns/_branch.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/merge_requests/dropdowns/_branch.html.haml b/app/views/projects/merge_requests/dropdowns/_branch.html.haml
new file mode 100644
index 00000000000..ba8d9a5835c
--- /dev/null
+++ b/app/views/projects/merge_requests/dropdowns/_branch.html.haml
@@ -0,0 +1,5 @@
+%ul
+ - branches.each do |branch|
+ %li
+ %a{ href: '#', class: "#{('is-active' if selected == branch)}", data: { id: branch } }
+ = branch