From c5b9fe77a8a0e1c2e6a051b700c5a5d4b98ff6fb Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 15 Jan 2022 14:08:29 -0500 Subject: add randomizer --- app/views/players/index.html.erb | 3 ++- app/views/players/show.html.erb | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'app/views/players') diff --git a/app/views/players/index.html.erb b/app/views/players/index.html.erb index 5a2b9ef..c067483 100644 --- a/app/views/players/index.html.erb +++ b/app/views/players/index.html.erb @@ -8,4 +8,5 @@ <% end %> -<%= link_to "New player", new_player_path %> +
+<%= link_to "Add a player", new_player_path %> 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 %>
- <%= link_to "Back to players", players_path %> - - <%= button_to "Destroy this player", @player, method: :delete %> + <%= button_to "Delete #{@player.name}", @player, method: :delete %>
-- cgit 1.4.1