diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-01 07:33:08 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-06-01 07:38:10 +0300 |
commit | 80cf7d3b9761ccb5e0b13409bb4b91c5e1899b23 (patch) | |
tree | 404970e74857798d20bdf44e6e4ad83b985ab028 /app | |
parent | 473ea1e974cf07751601904b882de9ee2b3d0618 (diff) |
Add a title attribute to each branch in the branches dropdown on the New MR page.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/merge_requests/dropdowns/_branch.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/dropdowns/_branch.html.haml b/app/views/projects/merge_requests/dropdowns/_branch.html.haml index ba8d9a5835c..a60c445aa51 100644 --- a/app/views/projects/merge_requests/dropdowns/_branch.html.haml +++ b/app/views/projects/merge_requests/dropdowns/_branch.html.haml @@ -1,5 +1,5 @@ %ul - branches.each do |branch| %li - %a{ href: '#', class: "#{('is-active' if selected == branch)}", data: { id: branch } } + %a{ href: '#', class: "#{('is-active' if selected == branch)}", title: branch, data: { id: branch } } = branch |