summaryrefslogtreecommitdiff
path: root/app/views/projects/branches/new.html.haml
diff options
context:
space:
mode:
authorAndrew Fontaine <afontaine@gitlab.com>2019-07-16 13:48:28 -0400
committerAndrew Fontaine <afontaine@gitlab.com>2019-07-16 16:07:41 -0400
commiteacef3fb07252ce4741a81376a350919def6bdd4 (patch)
tree66776871a489a42a948065d0644a8c8372c3853c /app/views/projects/branches/new.html.haml
parentfb754a86b214ce6742a14d51fd06b5f1fa2ffa5f (diff)
downloadgitlab-ce-style-dropdown-buttons.tar.gz
Style Dropdown Buttons with New Button Stylesstyle-dropdown-buttons
These dropdown buttons were missing the `btn` class, and were missing the new button styles.
Diffstat (limited to 'app/views/projects/branches/new.html.haml')
-rw-r--r--app/views/projects/branches/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/branches/new.html.haml b/app/views/projects/branches/new.html.haml
index af8887b0c39..dd0d47d74f4 100644
--- a/app/views/projects/branches/new.html.haml
+++ b/app/views/projects/branches/new.html.haml
@@ -20,7 +20,7 @@
.col-sm-10.create-from
.dropdown
= hidden_field_tag :ref, default_ref
- = button_tag type: 'button', title: default_ref, class: 'dropdown-menu-toggle wide js-branch-select monospace', required: true, data: { toggle: 'dropdown', selected: default_ref, field_name: 'ref' } do
+ = button_tag type: 'button', title: default_ref, class: 'btn btn-default dropdown-menu-toggle wide js-branch-select monospace', required: true, data: { toggle: 'dropdown', selected: default_ref, field_name: 'ref' } do
.text-left.dropdown-toggle-text= default_ref
= icon('chevron-down')
= render 'shared/ref_dropdown', dropdown_class: 'wide'