2019-07-02 04:05:31 -04:00
|
|
|
#modal-confirm-danger.modal.qa-confirm-modal{ tabindex: -1 }
|
2014-10-08 06:56:57 -04:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2019-03-14 16:52:01 -04:00
|
|
|
%h3.page-title= _('Confirmation required')
|
2018-06-01 10:01:37 -04:00
|
|
|
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
|
|
|
|
%span{ "aria-hidden": true } ×
|
2014-10-08 06:56:57 -04:00
|
|
|
|
|
|
|
.modal-body
|
2016-04-29 13:02:30 -04:00
|
|
|
%p.text-danger.js-confirm-text
|
2014-10-08 06:56:57 -04:00
|
|
|
|
|
|
|
%p
|
2019-03-14 16:52:01 -04: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 06:56:57 -04:00
|
|
|
%br
|
2019-10-15 14:06:01 -04: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 06:56:57 -04:00
|
|
|
|
|
|
|
.form-group
|
2019-07-02 04:05:31 -04:00
|
|
|
= text_field_tag 'confirm_name_input', '', class: 'form-control js-confirm-danger-input qa-confirm-input'
|
2020-08-11 17:10:09 -04:00
|
|
|
.form-actions.gl-display-flex.gl-justify-content-end
|
2019-07-02 04:05:31 -04:00
|
|
|
= submit_tag _('Confirm'), class: "btn btn-danger js-confirm-danger-submit qa-confirm-button"
|