summaryrefslogtreecommitdiff
path: root/app/views/locations/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/locations/show.html.erb')
-rw-r--r--app/views/locations/show.html.erb17
1 files changed, 10 insertions, 7 deletions
diff --git a/app/views/locations/show.html.erb b/app/views/locations/show.html.erb
index bc63541..bed97ac 100644
--- a/app/views/locations/show.html.erb
+++ b/app/views/locations/show.html.erb
@@ -1,8 +1,11 @@
-<h1 class="text-xl"><%= @location.name %></h1>
+<div class="mb-4">
+ <h1 class="text-3xl"><%= @location.name %></h1>
+ <p class="italic"><%= @location.description %></p>
+</div>
-<ul>
- <% @location.activities.each do |activity| %>
- <li><span class="font-bold"><%= link_to activity.name, activity_path(activity) %></span>
- – <%= activity.description %></li>
- <% end %>
-</ul>
+<% @location.activities.each do |activity| %>
+ <div class="my-4">
+ <h2 class="text-xl"><%= link_to activity.name, activity_path(activity) %></h2>
+ <p class="italic"><%= activity.description %></p>
+ </div>
+<% end %>