2016-12-26 05:47:16 -05:00
|
|
|
|
#modal-confirm-danger.modal{ tabindex: -1 }
|
2014-10-08 06:56:57 -04:00
|
|
|
|
.modal-dialog
|
|
|
|
|
.modal-content
|
|
|
|
|
.modal-header
|
2016-12-26 05:47:16 -05:00
|
|
|
|
%a.close{ href: "#", "data-dismiss" => "modal" } ×
|
2015-12-02 08:27:29 -05:00
|
|
|
|
%h3.page-title
|
|
|
|
|
Confirmation required
|
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
|
|
|
|
|
This action can lead to data loss.
|
|
|
|
|
To prevent accidental actions we ask you to confirm your intention.
|
|
|
|
|
%br
|
|
|
|
|
Please type
|
2017-01-13 11:07:21 -05:00
|
|
|
|
%code.js-confirm-danger-match= phrase
|
2015-10-19 14:04:05 -04:00
|
|
|
|
to proceed or close this modal to cancel.
|
2014-10-08 06:56:57 -04:00
|
|
|
|
|
|
|
|
|
.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
|
2014-10-08 06:56:57 -04:00
|
|
|
|
= submit_tag 'Confirm', class: "btn btn-danger js-confirm-danger-submit"
|