Commit a98306bd authored by Clement Ho's avatar Clement Ho

Merge branch '6288-approvers-block-in-new-mr-page-is-broken-after-bs4' into 'master'

Resolve "Approvers block in new MR page is broken after BS4"

Closes #6288

See merge request gitlab-org/gitlab-ee!5959
parents ce902b95 1c0bc48b
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
- ineligible_approver = issuable.author || current_user - ineligible_approver = issuable.author || current_user
- can_update_approvers = can?(current_user, :update_approvers, issuable) - can_update_approvers = can?(current_user, :update_approvers, issuable)
.form-group .form-group.row
= form.label :approver_ids, class: 'col-form-label' do = form.label :approver_ids, class: 'col-form-label col-sm-2' do
Approvers Approvers
.col-sm-10 .col-sm-10
- if can_update_approvers - if can_update_approvers
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
Remove Remove
.col-sm-12 .col-sm-12
.form-group .form-group.row
= form.label :approvals_before_merge, class: 'label-light' do = form.label :approvals_before_merge, class: 'label-light' do
Approvals required Approvals required
= form.number_field :approvals_before_merge, class: 'form-control', value: issuable.approvals_required, readonly: !can_update_approvers = form.number_field :approvals_before_merge, class: 'form-control', value: issuable.approvals_required, readonly: !can_update_approvers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment