From 7f129f24e351cafafdb4bc58a44ca0d714e30af6 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 3 Jun 2021 20:50:58 -0400 Subject: Move timer and results to new game containers which are always visible --- app/views/layouts/application.html.erb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'app/views/layouts') diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 485aa21..fc627a2 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -21,9 +21,10 @@ <%= render "navbar" %> <% end %>
-
- Results go here. -
+ <% if user_signed_in? %> +
+
+ <% end %>
<%= render "flash_messages" %> <%= yield %> @@ -32,7 +33,9 @@ <% if user_signed_in? %>
- Timer goes here. +
+ <%= render "timer" %> +
-- cgit v1.2.3