summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-06 17:00:53 +0100
committerAzul <azul@leap.se>2012-12-06 17:00:53 +0100
commitf65b0bc32fd2785458d4076faf89683effca5031 (patch)
tree0d5d05052fa320e4eb038828572c074211b6edce /users
parent059b6fca8468e7b9a2507f24b84e09ce4b8c3ddd (diff)
forgot to add new partial
Diffstat (limited to 'users')
-rw-r--r--users/app/views/users/_cancel_account.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/users/app/views/users/_cancel_account.html.haml b/users/app/views/users/_cancel_account.html.haml
new file mode 100644
index 0000000..41580b0
--- /dev/null
+++ b/users/app/views/users/_cancel_account.html.haml
@@ -0,0 +1,6 @@
+%legend
+ =t :cancel_account
+ %small You will not be able to login anymore.
+= link_to user_path(@user), :method => :delete, :class => "btn btn-danger" do
+ %i.icon-remove.icon-white
+ Remove my Account