pinball tournament app https://nomipinball.bhh.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
pinrails/app/views/machines/show.html.erb

12 lines
328 B

<% 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>