1 <% content_for :heading do %>
2 <h1><%= t ".title" %></h1>
5 <%= render :partial => "settings_menu" %>
7 <div class="alert alert-danger row mx-0 p-3 align-items-center">
9 <%= image_tag("notice.png", :srcset => image_path("notice.svg")) %>
12 <p class="mb-0"><%= t ".warning" %></p>
16 <p><%= t ".delete_introduction" %></p>
19 <li><%= t ".delete_profile" %></li>
20 <li><%= t ".delete_display_name" %></li>
23 <p><%= t ".retain_caveats" %></p>
26 <li><%= t ".retain_edits" %></li>
27 <li><%= t ".retain_traces" %></li>
28 <li><%= t ".retain_diary_entries" %></li>
29 <li><%= t ".retain_notes" %></li>
30 <li><%= t ".retain_changeset_discussions" %></li>
31 <li><%= t ".retain_email" %></li>
34 <% if current_user.deletion_allowed? %>
35 <%= link_to t(".delete_account"), account_path, { :method => :delete, :class => "btn btn-danger", :data => { :confirm => t(".confirm_delete") } } %>
37 <div class="alert alert-warning">
38 <%= t ".recent_editing_html", :time => friendly_date(current_user.deletion_allowed_at) %>
40 <button class="btn btn-secondary" disabled><%= t(".delete_account") %></button>
43 <%= link_to t(".cancel"), edit_account_path, :class => "btn btn-link" %>