Commit abaace64 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '344162-replace-data-confirm-modals-with-glmodal-in-app-views-admin-hooks-edit-html-haml' into 'master'

Resolve "Replace `data-confirm` modals with `GlModal` in `app/views/admin/hooks/edit.html.haml`"

See merge request gitlab-org/gitlab!79915
parents 73a3801a 9e9b6c29
......@@ -13,7 +13,7 @@
.form-actions
%span>= f.submit _('Save changes'), class: 'btn gl-button btn-confirm gl-mr-3'
= render 'shared/web_hooks/test_button', hook: @hook
= link_to _('Delete'), admin_hook_path(@hook), method: :delete, class: 'btn gl-button btn-danger float-right', data: { confirm: _('Are you sure?') }
= link_to _('Delete'), admin_hook_path(@hook), method: :delete, class: 'btn gl-button btn-danger float-right', aria: { label: s_('Webhooks|Delete webhook') }, data: { confirm: s_('Webhooks|Are you sure you want to delete this webhook?'), confirm_btn_variant: 'danger' }
%hr
......
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