summaryrefslogtreecommitdiff
path: root/users/app/views/users/_cancel_account.html.haml
blob: 756170bff0e8c021af63600014d8eccc65640e90 (plain)
1
2
3
4
5
6
7
8
9
%legend
  - if @user == current_user
    =t :cancel_account
    %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
  %i.icon-remove.icon-white
  =t :remove_account