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

23 lines
865 B
Text
Raw Normal View History

#modal-confirm-danger.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
Please type
%code.js-confirm-danger-match= phrase
2015-10-19 14:04:05 -04:00
to proceed or close this modal to cancel.
.form-group
= text_field_tag 'confirm_name_input', '', class: 'form-control js-confirm-danger-input'
2015-12-02 08:34:20 -05:00
.form-actions
= submit_tag _('Confirm'), class: "btn btn-danger js-confirm-danger-submit"