summaryrefslogtreecommitdiff
path: root/users/app/views/users/edit.html.haml
blob: cfcf220e2727cae97fa42c2d5ee16dfdbd4c18ab (plain)
1
2
3
4
5
6
7
8
9
10
.span8.offset2
  %h2=t :settings
  = render 'form'
  - if @user == current_user
    %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