From 755bfe6da54ed67a759f26ba4c328a2e8175b2f6 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 2 Nov 2023 17:55:57 -0400 Subject: Checkpoint#show structure --- app/views/runs/show.html.erb | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/app/views/runs/show.html.erb b/app/views/runs/show.html.erb index 832889a..24f551a 100644 --- a/app/views/runs/show.html.erb +++ b/app/views/runs/show.html.erb @@ -1,18 +1,20 @@ -

<%= @run.title %>

-

<%= @run.game.title %>

+
+

<%= @run.title %>

+

<%= @run.game.title %>

-

Run started by: <%= @run.user.name %>

+

Run started by: <%= @run.user.name || "Unknown trainer" %>

-<%= link_to "New checkpoint", new_run_checkpoint_path(@run) %> -

Checkpoints

+

Checkpoints

+ <%= link_to "New checkpoint", new_run_checkpoint_path(@run) %> - + +
-- cgit v1.2.3