Merge branch 'ce-fix-protected-branch' into 'master'

Fix inputs not being found due to incorrect class in wrap element

Fixes failing spec

See merge request !5926
This commit is contained in:
Rubén Dávila Santos 2016-08-21 05:18:21 +00:00
commit 311b88c50c

View file

@ -22,7 +22,7 @@
%label.col-md-2.text-right{ for: 'merge_access_levels_attributes' }
Allowed to merge:
.col-md-10
.js-allowed-to-merge-container
.merge_access_levels-container
= dropdown_tag('Select',
options: { toggle_class: 'js-allowed-to-merge wide',
data: { field_name: 'protected_branch[merge_access_levels_attributes][0][access_level]', input_id: 'merge_access_levels_attributes' }})
@ -30,7 +30,7 @@
%label.col-md-2.text-right{ for: 'push_access_levels_attributes' }
Allowed to push:
.col-md-10
.js-allowed-to-push-container
.push_access_levels-container
= dropdown_tag('Select',
options: { toggle_class: 'js-allowed-to-push wide',
data: { field_name: 'protected_branch[push_access_levels_attributes][0][access_level]', input_id: 'push_access_levels_attributes' }})