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/players/show.html.erb

12 lines
322 B

<% if not notice.nil? %><p style="color: green"><%= notice %></p>
<% end %>
<h1><%= @player.name %></h1>
<%= render "form", player: @player %>
<div>
<%= link_to "Delete #{@player.name} ❌", @player, data: {
turbo_method: :delete,
turbo_confirm: "Are you sure you want to remove #{@player.name}?" } %>
</div>