BigW Consortium Gitlab

_confirm_modal.html.haml 764 Bytes
Newer Older
1
#modal-confirm-danger.modal{tabindex: -1}
2 3 4 5
  .modal-dialog
    .modal-content
      .modal-header
        %a.close{href: "#", "data-dismiss" => "modal"} ×
6 7
        %h3.page-title
          Confirmation required
8 9 10 11 12 13 14 15 16 17

      .modal-body
        %p.cred.lead.js-confirm-text

        %p
          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}
18
          to proceed or close this modal to cancel.
19 20 21

        .form-group
          = text_field_tag 'confirm_name_input', '', class: 'form-control js-confirm-danger-input'
22
        .form-actions
23
          = submit_tag 'Confirm', class: "btn btn-danger js-confirm-danger-submit"