Fix bootstrap squash checkbox alignment

This commit is contained in:
Clement Ho 2018-05-31 14:44:49 -05:00
parent f153faa86e
commit 698f954e69
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
= label_tag 'merge_request[force_remove_source_branch]', class: 'form-check-label' do
Remove source branch when merge request is accepted.
.form-group
.col-sm-10.col-sm-offset-2
.form-group.row
.col-sm-10.offset-sm-2
.form-check
= hidden_field_tag 'merge_request[squash]', '0', id: nil
= check_box_tag 'merge_request[squash]', '1', issuable.squash, class: 'form-check-input'