diff --git a/app/views/settings/_account.haml b/app/views/settings/_account.haml index c234b9d5..29e578d8 100644 --- a/app/views/settings/_account.haml +++ b/app/views/settings/_account.haml @@ -17,8 +17,7 @@ = t("voc.save") %hr/ - %p - = t(".delete.heading") - = button_to t(".delete.action"), "/settings/account", data: { confirm: t(".delete.confirm") }, method: :delete, class: "btn btn-danger btn-xs" + %p= t(".delete.heading") + %p= link_to t(".delete.action"), "/settings/account", data: { turbo_confirm: t(".delete.confirm"), turbo_method: :delete }, class: "btn btn-danger btn-xs" .visible-xs= render "shared/links"