summaryrefslogtreecommitdiff
path: root/app/views/activities/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/activities/show.html.erb')
-rw-r--r--app/views/activities/show.html.erb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/activities/show.html.erb b/app/views/activities/show.html.erb
new file mode 100644
index 0000000..4e77061
--- /dev/null
+++ b/app/views/activities/show.html.erb
@@ -0,0 +1,11 @@
+<h1 class="text-2xl"><%= @activity.name %></h1>
+<p><%= @activity.description %></p>
+
+<div class="border-gray-800 rounded p-2" id="result_output">
+</div>
+
+<div id="result_controls">
+ <%= render "timer" %>
+</div>
+
+<%= link_to "Start", start_activity_path(@activity), method: :post %>