Commit 33b787ee authored by Clement Ho's avatar Clement Ho

Re-add form-check

parent 3d283810
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
.form-group.row .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)
= label_tag 'merge_request[force_remove_source_branch]' do .form-check
= hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil = label_tag 'merge_request[force_remove_source_branch]' do
= check_box_tag 'merge_request[force_remove_source_branch]', '1', issuable.force_remove_source_branch? = hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil
Remove source branch when merge request is accepted. = check_box_tag 'merge_request[force_remove_source_branch]', '1', issuable.force_remove_source_branch?
Remove source branch when merge request is accepted.
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