Commit 1f9c83af authored by Clement Ho's avatar Clement Ho

Fix alignment for Remove source branch checkbox

parent a8866024
...@@ -7,10 +7,9 @@ ...@@ -7,10 +7,9 @@
-# This comment and the following line should only exist in CE. -# This comment and the following line should only exist in CE.
- return unless issuable.can_remove_source_branch?(current_user) - return unless issuable.can_remove_source_branch?(current_user)
.form-group .form-group.row
.col-sm-10.offset-sm-2 .col-sm-10.offset-sm-2
- if issuable.can_remove_source_branch?(current_user) - if issuable.can_remove_source_branch?(current_user)
.form-check
= label_tag 'merge_request[force_remove_source_branch]' do = label_tag 'merge_request[force_remove_source_branch]' do
= hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil = hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil
= check_box_tag 'merge_request[force_remove_source_branch]', '1', issuable.force_remove_source_branch? = check_box_tag 'merge_request[force_remove_source_branch]', '1', issuable.force_remove_source_branch?
......
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