diff options
Diffstat (limited to 'app/views/players/show.html.erb')
-rw-r--r-- | app/views/players/show.html.erb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/players/show.html.erb b/app/views/players/show.html.erb index 42dce9c..e031050 100644 --- a/app/views/players/show.html.erb +++ b/app/views/players/show.html.erb @@ -3,7 +3,5 @@ <%= render "form", player: @player %> <div> - <%= link_to "Back to players", players_path %> - - <%= button_to "Destroy this player", @player, method: :delete %> + <%= button_to "Delete #{@player.name}", @player, method: :delete %> </div> |