]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/accounts/edit.html.erb
Wrap issue report rich text in div
[rails.git] / app / views / accounts / edit.html.erb
index 0dcab17b0d3ba20ffaa9f3febdb21f6e4dd31e96..2017bee0a459cfd7e51b7e88de2d34a287ee9340 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? %>
 <a name="public"></a>
 <h2><%= t ".public editing note.heading" %></h2>
 <%= t ".public editing note.html" %>
-  <%= button_to t(".make edits public button"), user_go_public_path %>
+<%= button_to t(".make edits public button"), user_go_public_path, :class => "btn btn-primary" %>
 <% end %>