BigW Consortium Gitlab

Commit 7876e83d by Mike Greiling

remove unnecessary nonce id

parent 5934698f
......@@ -23,9 +23,8 @@
- if can?(current_user, :push_code, @project)
.js-create-merge-request-container
.checkbox
- nonce = SecureRandom.hex
= label_tag "create_merge_request-#{nonce}" do
= check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request', id: "create_merge_request-#{nonce}"
= label_tag do
= check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request'
Start a <strong>new merge request</strong> with these changes
- else
= hidden_field_tag 'create_merge_request', 1
......
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