Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

728 B
Raw Blame
<%=
  render(Primer::OpenProject::DangerDialog.new(title: t(:"projects.lists.delete_modal.title"),
                                               form_arguments: {
                                                 action: project_query_path(query),
                                                 method: :delete
                                               },
                                               id: MODAL_ID,
                                               test_selector: MODAL_ID)) do |d|
    d.with_confirmation_message do |message|
      message.with_heading(tag: :h2) { t(:"projects.lists.delete_modal.heading") }
      message.with_description_content(t(:"projects.lists.delete_modal.text"))
    end
  end
%>