blob: 4bba20c4ea297a1d5eab16a8221c8d2bc4c887a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
<% if not notice.nil? %><p style="color: green"><%= notice %></p><% end %>
<%= render "form", machine: @machine %>
<div>
<%= link_to "Delete #{@machine.name} ❌", @machine, data: {
turbo_method: :delete,
turbo_confirm: "Are you sure you want to remove #{@machine.name}?"} %>
</div>
|