diff --git a/app/views/reports/show.html.slim b/app/views/reports/show.html.slim index 13f31c0..405b87c 100644 --- a/app/views/reports/show.html.slim +++ b/app/views/reports/show.html.slim @@ -61,4 +61,4 @@ h1 .action-row = link_to t("scaffold.link_edit", model: @report.model_name.human), edit_report_path(@report) = link_to t("scaffold.link_index", model: @report.model_name.human(count: 2)), reports_path - = button_to t("scaffold.link_destroy", model: @report.model_name.human), @report, method: :delete, class: "btn btn-outline-danger" + = button_to t("scaffold.link_destroy", model: @report.model_name.human), @report, method: :delete, class: "btn btn-outline-danger", data: { turbo_confirm: "Bist du sicher?"}