Switch confirm dialog text on account settings to `voc.confirm`

This commit is contained in:
Andreas Nedbal 2022-02-12 23:40:19 +01:00 committed by Andreas Nedbal
parent 78357faed5
commit 83edbad53b
1 changed files with 1 additions and 1 deletions

View File

@ -19,6 +19,6 @@
%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"
= button_to t(".delete.action"), "/settings/account", data: { confirm: t("voc.confirm") }, method: :delete, class: "btn btn-danger btn-xs"
.visible-xs= render "shared/links"