Commit 8fec16ac authored by Rémy Coutable's avatar Rémy Coutable

Clicking "force remove source branch" label now toggles the checkbox again

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5db9c791
......@@ -129,7 +129,7 @@
.col-sm-10.col-sm-offset-2
.checkbox
= label_tag 'merge_request[force_remove_source_branch]' do
= hidden_field_tag 'merge_request[force_remove_source_branch]', '0'
= hidden_field_tag 'merge_request[force_remove_source_branch]', '0', id: nil
= check_box_tag 'merge_request[force_remove_source_branch]', '1', @merge_request.force_remove_source_branch?
Remove source branch when merge request is accepted.
......
---
title: Clicking "force remove source branch" label now toggles the checkbox again
merge_request:
author:
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