Sha256: 609d41acd5743d90ff09343eaec68b418b143fbe485c6bd4c979a6cf73cd61da
Contents?: true
Size: 475 Bytes
Versions: 43
Compression:
Stored size: 475 Bytes
Contents
class Releaf::Builders::ConfirmDestroyDialogBuilder < Releaf::Builders::ConfirmDialogBuilder def question_content t("Do you want to delete the following object?") end def description_content resource_title(resource) end def section_header_text t("Confirm deletion") end def confirm_method :delete end def icon_name "trash-o" end def confirm_url url_for( action: 'destroy', id: resource.id, index_path: index_path) end end
Version data entries
43 entries across 43 versions & 1 rubygems