From 65c1ee3dbaf5c0a030dd28a7e3f41d47c7652cb1 Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 27 May 2021 18:41:51 -0400 Subject: Move active action display with timer and results to a `LookController` --- app/views/locations/show.html.erb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/views/locations') diff --git a/app/views/locations/show.html.erb b/app/views/locations/show.html.erb index bed97ac..0001c99 100644 --- a/app/views/locations/show.html.erb +++ b/app/views/locations/show.html.erb @@ -7,5 +7,9 @@

<%= link_to activity.name, activity_path(activity) %>

<%= activity.description %>

+ <%= form_with url: start_activity_path(activity) do |f| %> + <%= f.hidden_field :id, value: activity.id %> + <%= f.submit "Start" %> + <% end %>
<% end %> -- cgit v1.2.3