diff options
author | David Gay <david@davidgay.org> | 2021-05-23 22:18:43 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-23 22:19:51 -0400 |
commit | 1d55d62b2561a402c902b4c5a66076ab1c278548 (patch) | |
tree | f2e5ac9aa618575a20aa8e73e6646b4825172dfc /app/views/locations/index.html.erb | |
parent | 99a2ec9a166a36cfc44577d95c6d245c28709ee1 (diff) |
Various appearance improvements
Diffstat (limited to 'app/views/locations/index.html.erb')
-rw-r--r-- | app/views/locations/index.html.erb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/locations/index.html.erb b/app/views/locations/index.html.erb index 758fd35..3c9b837 100644 --- a/app/views/locations/index.html.erb +++ b/app/views/locations/index.html.erb @@ -1,8 +1,8 @@ -<h1 class="text-xl">Locations</h1> +<h1 class="text-3xl mb-4">Locations</h1> -<ul> - <% @locations.each do |location| %> - <li><span class="font-bold"><%= link_to location.name, location_path(location) %></span> - – <%= location.description %></li> - <% end %> -</ul> +<% @locations.each do |location| %> + <div class="my-4"> + <h2 class="text-xl"><%= link_to location.name, location_path(location) %></h2> + <p class="italic"><%= location.description %></p> + </div> +<% end %> |