debian-mirror-gitlab/app/views/shared/_new_merge_request_checkbox.html.haml

9 lines
496 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
.form-check.prepend-top-8
2017-09-10 17:25:29 +05:30
- nonce = SecureRandom.hex
2018-11-08 19:23:39 +05:30
= 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
2017-09-10 17:25:29 +05:30
- translation_variables = { new_merge_request: "<strong>#{_('new merge request')}</strong>" }
- translation = _('Start a %{new_merge_request} with these changes') % translation_variables
#{ translation.html_safe }