]> git.openstreetmap.org Git - rails.git/blob - app/views/account/deletions/show.html.erb
Merge branch 'master' into feature/add-communities-page
[rails.git] / app / views / account / deletions / show.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".title" %></h1>
3 <% end %>
4
5 <%= render :partial => "settings_menu" %>
6
7 <div class="alert alert-danger row mx-0 p-3 align-items-center">
8   <div class="col-auto">
9     <picture>
10       <source srcset="<%= image_path "notice.svg" %>" type="image/svg+xml"></source>
11       <%= image_tag("notice.png", :srcset => image_path("notice.svg")) %>
12     </picture>
13   </div>
14   <div class="col">
15     <p class="mb-0"><%= t ".warning" %></p>
16   </div>
17 </div>
18
19 <p><%= t ".delete_introduction" %></p>
20
21 <ul>
22   <li><%= t ".delete_profile" %></li>
23   <li><%= t ".delete_display_name" %></li>
24 </ul>
25
26 <p><%= t ".retain_caveats" %></p>
27
28 <ul>
29   <li><%= t ".retain_edits" %></li>
30   <li><%= t ".retain_traces" %></li>
31   <li><%= t ".retain_diary_entries" %></li>
32   <li><%= t ".retain_notes" %></li>
33   <li><%= t ".retain_changeset_discussions" %></li>
34   <li><%= t ".retain_email" %></li>
35 </ul>
36
37 <%= link_to t(".delete_account"), account_path, { :method => :delete, :class => "btn btn-danger", :data => { :confirm => t(".confirm_delete") } } %>
38 <%= link_to t(".cancel"), edit_account_path, :class => "btn btn-link" %>