From 9150b575075db8a2de75ab476c9c7801d2352242 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 1 Feb 2022 09:38:44 -0500 Subject: tidy up a bit --- app/views/players/show.html.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/views/players/show.html.erb') diff --git a/app/views/players/show.html.erb b/app/views/players/show.html.erb index 3d0bb78..bd72bd3 100644 --- a/app/views/players/show.html.erb +++ b/app/views/players/show.html.erb @@ -1,9 +1,12 @@ -<% if not notice.nil? %>

<%= notice %>

<% end %> +<% if not notice.nil? %>

<%= notice %>

+<% end %> + +

<%= @player.name %>

<%= render "form", player: @player %>
<%= link_to "Delete #{@player.name} ❌", @player, data: { turbo_method: :delete, - turbo_confirm: "Are you sure you want to remove #{@player.name}?"} %> + turbo_confirm: "Are you sure you want to remove #{@player.name}?" } %>
-- cgit 1.4.1