|
<h1><%= @machine.name %></h1>
|
|
|
|
<p>Edition: <%= @machine.edition %></p>
|
|
|
|
<ul>
|
|
<li><%= link_to "Edit Pinball Machine", edit_machine_path(@machine) %></li>
|
|
<li><%= link_to "Delete", machine_path(@machine),
|
|
method: :delete,
|
|
data: { confirm: "Are you sure?" } %></li>
|
|
</ul>
|
|
|