2019-07-02 08:05:31 +00:00
|
|
|
#modal-confirm-danger.modal.qa-confirm-modal{ tabindex: -1 }
|
2014-10-08 10:56:57 +00:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2019-03-14 20:52:01 +00:00
|
|
|
%h3.page-title= _('Confirmation required')
|
2018-06-01 14:01:37 +00:00
|
|
|
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
|
2021-05-27 21:10:59 +00:00
|
|
|
%span{ "aria-hidden": "true" } ×
|
2014-10-08 10:56:57 +00:00
|
|
|
|
|
|
|
.modal-body
|
2016-04-29 17:02:30 +00:00
|
|
|
%p.text-danger.js-confirm-text
|
2014-10-08 10:56:57 +00:00
|
|
|
|
|
|
|
%p
|
2019-03-14 20:52:01 +00:00
|
|
|
%span.js-warning-text= _('This action can lead to data loss. To prevent accidental actions we ask you to confirm your intention.')
|
2014-10-08 10:56:57 +00:00
|
|
|
%br
|
2019-10-15 18:06:01 +00:00
|
|
|
- phrase_code = '<code class="js-confirm-danger-match">%{phrase_name}</code>'.html_safe % { phrase_name: phrase }
|
|
|
|
= _('Please type %{phrase_code} to proceed or close this modal to cancel.').html_safe % { phrase_code: phrase_code }
|
2014-10-08 10:56:57 +00:00
|
|
|
|
|
|
|
.form-group
|
2019-07-02 08:05:31 +00:00
|
|
|
= text_field_tag 'confirm_name_input', '', class: 'form-control js-confirm-danger-input qa-confirm-input'
|
2020-09-23 21:09:28 +00:00
|
|
|
.form-actions
|
2021-04-10 03:09:09 +00:00
|
|
|
= submit_tag _('Confirm'), class: "gl-button btn btn-danger js-confirm-danger-submit qa-confirm-button"
|