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

456 B
Raw Blame
<%=
  render(
    Primer::OpenProject::DangerDialog.new(
      title: "Delete project", open: true
    )
  ) do |dialog|
    dialog.with_confirmation_message do |message|
      message.with_heading(tag: :h2) { "Are you sure?" }
      message.with_description_content("You are going to delete the whole project and all its WorkPackages!")
    end
    dialog.with_confirmation_check_box_content("I understand that this deletion cannot be reversed")
  end
%>