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

25 lines
848 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
#modal-confirm-danger.modal{ tabindex: -1 }
2015-04-26 12:48:37 +05:30
.modal-dialog
.modal-content
.modal-header
2015-12-23 02:04:40 +05:30
%h3.page-title
Confirmation required
2018-11-08 19:23:39 +05:30
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } ×
2015-04-26 12:48:37 +05:30
.modal-body
2016-06-02 11:05:42 +05:30
%p.text-danger.js-confirm-text
2015-04-26 12:48:37 +05:30
%p
This action can lead to data loss.
To prevent accidental actions we ask you to confirm your intention.
%br
Please type
2017-08-17 22:00:37 +05:30
%code.js-confirm-danger-match= phrase
2015-12-23 02:04:40 +05:30
to proceed or close this modal to cancel.
2015-04-26 12:48:37 +05:30
.form-group
= text_field_tag 'confirm_name_input', '', class: 'form-control js-confirm-danger-input'
2015-12-23 02:04:40 +05:30
.form-actions
2015-04-26 12:48:37 +05:30
= submit_tag 'Confirm', class: "btn btn-danger js-confirm-danger-submit"