lib/generators/templates/simple_form_for/registrations/edit.html.erb in devise-4.8.1 vs lib/generators/templates/simple_form_for/registrations/edit.html.erb in devise-4.9.0
- old
+ new
@@ -28,8 +28,8 @@
</div>
<% end %>
<h3>Cancel my account</h3>
-<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete %></p>
+<div>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?", turbo_confirm: "Are you sure?" }, method: :delete %></div>
<%= link_to "Back", :back %>