]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/accounts/edit.html.erb
Allow users to delete their own accounts
[rails.git] / app / views / accounts / edit.html.erb
index 0dcab17b0d3ba20ffaa9f3febdb21f6e4dd31e96..eb977d0942d900f96bc49cf28a979a2a8257e2c9 100644 (file)
     </span>
   </div>
 
-  <%= f.primary t(".save changes button") %>
+  <div class="row justify-content-between">
+    <div class="col-auto btn-wrapper">
+      <%= f.primary t(".save changes button") %>
+    </div>
+    <div class="col-auto btn-wrapper">
+      <%= link_to t(".delete_account"), account_deletion_path, :class => "btn btn-outline-danger" %>
+    </div>
+  </div>
 <% end %>
 
 <% unless current_user.data_public? %>