about summary refs log tree commit diff
path: root/app/views/players/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/players/show.html.erb')
-rw-r--r--app/views/players/show.html.erb7
1 files changed, 5 insertions, 2 deletions
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? %><p style="color: green"><%= notice %></p><% end %>
+<% if not notice.nil? %><p style="color: green"><%= notice %></p>
+<% end %>
+
+<h1><%= @player.name %></h1>
 
 <%= render "form", player: @player %>
 
 <div>
   <%= 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}?" } %>
 </div>