summaryrefslogtreecommitdiff
path: root/app/views/locations/show.html.erb
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-03 18:37:26 -0400
committerDavid Gay <david@davidgay.org>2021-05-03 18:37:26 -0400
commitaa25545eb204d0ca842ab948af4c27cb217352d6 (patch)
tree89bf44a06f4adf953899561f84ed22830dc2bc13 /app/views/locations/show.html.erb
parent23178917e0d415ac17aab9a8077a124c3254f124 (diff)
Locations views
Diffstat (limited to 'app/views/locations/show.html.erb')
-rw-r--r--app/views/locations/show.html.erb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/locations/show.html.erb b/app/views/locations/show.html.erb
new file mode 100644
index 0000000..c3a75e1
--- /dev/null
+++ b/app/views/locations/show.html.erb
@@ -0,0 +1,7 @@
+<h1 class="text-xl"><%= @location.name %></h1>
+
+<ul>
+ <% @location.activities.each do |activity| %>
+ <li><span class="font-bold"><%= link_to activity.name, "#" %></span> – <%= activity.description %></li>
+ <% end %>
+</ul>