diff options
Diffstat (limited to 'app/views/shared/_confirm_modal.html.haml')
-rw-r--r-- | app/views/shared/_confirm_modal.html.haml | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/app/views/shared/_confirm_modal.html.haml b/app/views/shared/_confirm_modal.html.haml deleted file mode 100644 index 4cb3f6d1739..00000000000 --- a/app/views/shared/_confirm_modal.html.haml +++ /dev/null @@ -1,21 +0,0 @@ -#modal-confirm-danger.modal.qa-confirm-modal{ tabindex: -1 } - .modal-dialog - .modal-content - .modal-header - %h3.page-title= _('Confirmation required') - %button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') } - %span{ "aria-hidden": "true" } × - - .modal-body - %p.text-danger.js-confirm-text - - %p - %span.js-warning-text= _('This action can lead to data loss. To prevent accidental actions we ask you to confirm your intention.') - %br - - phrase_code = '<code class="js-legacy-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 } - - .form-group - = text_field_tag 'confirm_name_input', '', class: 'form-control js-legacy-confirm-danger-input qa-confirm-input' - .form-actions - = submit_tag _('Confirm'), class: "gl-button btn btn-danger js-legacy-confirm-danger-submit qa-confirm-button" |