Commit 33de0456 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch...

Merge branch '344185-replace-data-confirm-modals-with-glmodal-in-app-views-profiles-two_factor_auths-show-html' into 'master'

Replace `data-confirm` modals with `GlModal` in `app/views/profiles/two_factor_auths/show.html.haml`

See merge request gitlab-org/gitlab!81868
parents e2eef5bd 5a2e927a
......@@ -113,7 +113,7 @@
%span.gl-text-gray-500
= _("no name set")
%td= registration[:created_at].to_date.to_s(:medium)
%td= link_to _('Delete'), registration[:delete_path], method: :delete, class: "gl-button btn btn-danger float-right", data: { confirm: _('Are you sure you want to delete this device? This action cannot be undone.') }
%td= link_to _('Delete'), registration[:delete_path], method: :delete, class: "gl-button btn btn-danger float-right", data: { confirm: _('Are you sure you want to delete this device? This action cannot be undone.'), confirm_btn_variant: "danger" }, aria: { label: _('Delete') }
- else
.settings-message.text-center
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment