gitlab-org--gitlab-foss/app/views/shared/_new_merge_request_checkbox.html.haml

9 lines
496 B
Text
Raw Normal View History

2018-06-08 17:35:03 -04:00
.form-check.prepend-top-8
- nonce = SecureRandom.hex
2018-05-31 15:20:46 -04:00
= check_box_tag 'create_merge_request', 1, true, class: 'js-create-merge-request form-check-input', id: "create_merge_request-#{nonce}"
= label_tag "create_merge_request-#{nonce}", class: 'form-check-label' do
- translation_variables = { new_merge_request: "<strong>#{_('new merge request')}</strong>" }
- translation = _('Start a %{new_merge_request} with these changes') % translation_variables
#{ translation.html_safe }