2017-09-10 17:25:29 +05:30
|
|
|
- content_for :merge_access_levels do
|
|
|
|
.merge_access_levels-container
|
2022-11-25 23:54:43 +05:30
|
|
|
= dropdown_tag(_('Select'),
|
2022-10-11 01:57:18 +05:30
|
|
|
options: { toggle_class: 'js-allowed-to-merge wide',
|
|
|
|
dropdown_class: 'dropdown-menu-selectable capitalize-header', dropdown_qa_selector: 'allowed_to_merge_dropdown_content', dropdown_testid: 'allowed-to-merge-dropdown',
|
|
|
|
data: { field_name: 'protected_branch[merge_access_levels_attributes][0][access_level]', input_id: 'merge_access_levels_attributes', qa_selector: 'allowed_to_merge_dropdown' }})
|
2017-09-10 17:25:29 +05:30
|
|
|
- content_for :push_access_levels do
|
|
|
|
.push_access_levels-container
|
2022-11-25 23:54:43 +05:30
|
|
|
= dropdown_tag(_('Select'),
|
2022-10-11 01:57:18 +05:30
|
|
|
options: { toggle_class: "js-allowed-to-push js-multiselect wide",
|
|
|
|
dropdown_class: 'dropdown-menu-selectable capitalize-header', dropdown_qa_selector: 'allowed_to_push_dropdown_content' , dropdown_testid: 'allowed-to-push-dropdown',
|
|
|
|
data: { field_name: 'protected_branch[push_access_levels_attributes][0][access_level]', input_id: 'push_access_levels_attributes', qa_selector: 'allowed_to_push_dropdown' }})
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
= render 'protected_branches/shared/create_protected_branch'
|