BigW Consortium Gitlab

Commit 130cbc97 by Mike Greiling

prevent create_merge_request form field helpers from generating an id value

parent 79aad815
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
.js-create-merge-request-container .js-create-merge-request-container
.checkbox .checkbox
= label_tag do = label_tag do
= check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request' = check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request', id: nil
Start a <strong>new merge request</strong> with these changes Start a <strong>new merge request</strong> with these changes
- else - else
= hidden_field_tag 'create_merge_request', 1 = hidden_field_tag 'create_merge_request', 1, id: nil
.form-actions .form-actions
= submit_tag label, class: 'btn btn-create' = submit_tag label, class: 'btn btn-create'
= link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal" = link_to "Cancel", '#', class: "btn btn-cancel", "data-dismiss" => "modal"
......
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