diff options
author | Ben Harris <ben@tilde.team> | 2021-08-21 19:30:19 -0400 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2021-08-21 19:30:33 -0400 |
commit | 819a3edae405227f11283ad494a7f4ca9c771467 (patch) | |
tree | 8da57ee1777f992f4f13879795916615009f6a53 /app/views/players/show.html.erb |
init
Diffstat (limited to 'app/views/players/show.html.erb')
-rw-r--r-- | app/views/players/show.html.erb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/players/show.html.erb b/app/views/players/show.html.erb new file mode 100644 index 0000000..21cf73f --- /dev/null +++ b/app/views/players/show.html.erb @@ -0,0 +1,12 @@ +<h1><%= @player.name %></h1> + +<p>Strikes: <%= @player.strikes %></p> +<p>Paid: <%= @player.paid %></p> + +<ul> + <li><%= link_to "Edit Pinball player", edit_player_path(@player) %></li> + <li><%= link_to "Delete", player_path(@player), + method: :delete, + data: { confirm: "Are you sure?" } %></li> +</ul> + |