% content_for :heading do %>
<%= t ".title" %>
<% end %>
<%= render :partial => "settings_menu" %>
<%= t ".delete_introduction" %>
- <%= t ".delete_profile" %>
- <%= t ".delete_display_name" %>
<%= t ".retain_caveats" %>
- <%= t ".retain_edits" %>
- <%= t ".retain_traces" %>
- <%= t ".retain_diary_entries" %>
- <%= t ".retain_notes" %>
- <%= t ".retain_changeset_discussions" %>
- <%= t ".retain_email" %>
<% if current_user.deletion_allowed? %>
<%= link_to t(".delete_account"), account_path, { :method => :delete, :class => "btn btn-danger", :data => { :confirm => t(".confirm_delete") } } %>
<% else %>
<%= t ".recent_editing_html", :time => friendly_date(current_user.deletion_allowed_at) %>
<% end %>
<%= link_to t(".cancel"), edit_account_path, :class => "btn btn-link" %>