Sha256: 57f6635d79815791b90c65a569097bbeaa06d042595129201b85caf618dcf5c5
Contents?: true
Size: 593 Bytes
Versions: 4
Compression:
Stored size: 593 Bytes
Contents
<%= render(Primer::OpenProject::DangerConfirmationDialog.new( title: "Delete dialog", form_arguments: { action: generic_form_submission_path(format: route_format) } )) do |dialog| %> <% dialog.with_show_button { "Click me" } %> <% dialog.with_confirmation_message do |message| message.with_heading(tag: :h2).with_content("Permanently delete?") message.with_description_content("This action is not reversible. Please proceed with caution.") end %> <% dialog.with_confirmation_check_box_content("I understand that this deletion cannot be reversed") %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems