diff options
Diffstat (limited to 'app/views/players/show.html.erb')
-rw-r--r-- | app/views/players/show.html.erb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/players/show.html.erb b/app/views/players/show.html.erb index 19ade1d..42dce9c 100644 --- a/app/views/players/show.html.erb +++ b/app/views/players/show.html.erb @@ -1,9 +1,8 @@ <p style="color: green"><%= notice %></p> -<%= render @player %> +<%= render "form", player: @player %> <div> - <%= link_to "Edit this player", edit_player_path(@player) %> | <%= link_to "Back to players", players_path %> <%= button_to "Destroy this player", @player, method: :delete %> |