diff options
Diffstat (limited to 'app/views/players/edit.html.erb')
-rw-r--r-- | app/views/players/edit.html.erb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/players/edit.html.erb b/app/views/players/edit.html.erb index 1504b65..fd22922 100644 --- a/app/views/players/edit.html.erb +++ b/app/views/players/edit.html.erb @@ -2,7 +2,6 @@ <%= render "form", machine: @player %> -<%= link_to "Delete #{@player.name}", player_path(@player), +<p><%= link_to "Delete #{@player.name}", player_path(@player), method: :delete, - data: { confirm: "Are you sure?" } %> - + data: { confirm: "Are you sure?" } %></p> |