summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-06-25 07:17:37 -0700
committerazul <azul@riseup.net>2013-06-25 07:17:37 -0700
commit4f6e81a2d87bc22089536e3af48f45e8ecee68c8 (patch)
treed1ea6b275188635800ba17217a78b78545960151 /users/app/views
parentba036558e47da53e86ccb8cb7fb4ee1db725b804 (diff)
parentebdceb115f8a426bea61e4bf144463b67dbaf125 (diff)
Merge pull request #48 from leapcode/feature/remove-account
For removing account, redirect to root path, and ask confirmation messag...
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/_cancel_account.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/views/users/_cancel_account.html.haml b/users/app/views/users/_cancel_account.html.haml
index 756170b..c5ab36a 100644
--- a/users/app/views/users/_cancel_account.html.haml
+++ b/users/app/views/users/_cancel_account.html.haml
@@ -4,6 +4,6 @@
%small You will not be able to login anymore.
- else
=t :admin_cancel_account, :username => @user.login
-= link_to user_path(@user), :method => :delete, :class => "btn btn-danger" do
+= link_to user_path(@user), :method => :delete, :confirm => t(:confirm_question), :class => "btn btn-danger" do
%i.icon-remove.icon-white
=t :remove_account