blob: 584dac6b251b394781f63f7abc15687845b36078 (
plain) (
tree)
|
|
<% if not notice.nil? %><p style="color: green"><%= notice %></p>
<% end %>
<h1><%= @machine.name %></h1>
<%= 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>
|