13 lines
328 B
Plaintext
13 lines
328 B
Plaintext
<% 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>
|