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

use data-turbo-method in destroy_info of repositories

Oliver Günther3c05aea587a4
diff --git a/app/views/repositories/destroy_info.html.erb b/app/views/repositories/destroy_info.html.erb
index 9769938e84f..7695ef97592 100644
--- a/app/views/repositories/destroy_info.html.erb
+++ b/app/views/repositories/destroy_info.html.erb
@@ -60,7 +60,9 @@ See COPYRIGHT and LICENSE files for more details.
<div class="danger-zone--verification">
<input type="text">
<%= styled_button_tag project_repository_path(@project),
- turbo_method: :delete,
+ data: {
+ turbo_method: :delete,
+ },
title: t(:button_delete),
disabled: true,
class: "-primary" do %>