diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-08-21 00:18:28 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-08-21 00:18:28 -0500 |
commit | 54412dac15203b9208ca3ab56617262e7968050b (patch) | |
tree | 9b944e5e6b4ad9fadeffdededf3daf050e0f7179 /app | |
parent | b8728c0bb0e474edcdceaec9c7b6960bb6d879ac (diff) | |
download | gitlab-ce-54412dac15203b9208ca3ab56617262e7968050b.tar.gz |
Make dropdown selectables
This makes dropdown to look according the dropdowns on the edit form. This options add a tick mark next to the selected option.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/protected_branches/_create_protected_branch.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/protected_branches/_create_protected_branch.html.haml b/app/views/projects/protected_branches/_create_protected_branch.html.haml index 95d8743f546..226f8311a90 100644 --- a/app/views/projects/protected_branches/_create_protected_branch.html.haml +++ b/app/views/projects/protected_branches/_create_protected_branch.html.haml @@ -25,6 +25,7 @@ .js-allowed-to-merge-container = dropdown_tag('Select', options: { toggle_class: 'js-allowed-to-merge wide', + dropdown_class: 'dropdown-menu-selectable', data: { field_name: 'protected_branch[merge_access_levels_attributes][0][access_level]', input_id: 'merge_access_levels_attributes' }}) .form-group %label.col-md-2.text-right{ for: 'push_access_levels_attributes' } @@ -33,6 +34,7 @@ .js-allowed-to-push-container = dropdown_tag('Select', options: { toggle_class: 'js-allowed-to-push wide', + dropdown_class: 'dropdown-menu-selectable', data: { field_name: 'protected_branch[push_access_levels_attributes][0][access_level]', input_id: 'push_access_levels_attributes' }}) .panel-footer |