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

Re-add form-check

parent 3d283810
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
.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)
.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