diff options
author | Ben Harris <ben@tilde.team> | 2021-09-14 17:25:37 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-09-14 17:25:37 -0400 |
commit | d1a328f413f83a33398a3b1682c8a8327184b2b0 (patch) | |
tree | 02cbf8a46cd3de3688843f1b1f987e7247fa43da /app/views/machines/edit.html.erb | |
parent | 68f5f71701f53dffba53b3390b8e01cc23cc3d9c (diff) |
tidy up lists
Diffstat (limited to 'app/views/machines/edit.html.erb')
-rw-r--r-- | app/views/machines/edit.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/machines/edit.html.erb b/app/views/machines/edit.html.erb index 7fd30ce..477a0ee 100644 --- a/app/views/machines/edit.html.erb +++ b/app/views/machines/edit.html.erb @@ -2,3 +2,7 @@ <%= render "form", machine: @machine %> +<p><%= link_to "Delete #{@machine.name}", machine_path(@machine), + method: :delete, + data: { confirm: "Are you sure?" } %></p> + |