%# This dialog is used as an override to the browser's confirm API when submitting forms with data-turbo-confirm %> <%# See confirm_dialog_controller.js and _htmldoc.html.erb %> <%= render DialogComponent.new(id: "confirm-dialog", auto_open: false, data: { controller: "confirm-dialog" }, width: "sm", disable_frame: true) do |dialog| %> <% dialog.with_body do %>
<% end %> <% end %>