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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
490 B
Text
Raw Normal View History

.form-check.gl-mt-3
- 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 }