Ask before deleting report
This commit is contained in:
parent
3e2cef9907
commit
c258754069
1 changed files with 1 additions and 1 deletions
|
|
@ -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?"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue