summaryrefslogtreecommitdiff
path: root/users/app/views/users/_cancel_account.html.haml
blob: c5ab36a6f0bcf3a10f0caf97c3c9475895119e92 (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, :confirm => t(:confirm_question), :class => "btn btn-danger" do
  %i.icon-remove.icon-white
  =t :remove_account