From 1d55d62b2561a402c902b4c5a66076ab1c278548 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 23 May 2021 22:18:43 -0400 Subject: Various appearance improvements --- app/views/characters/show.html.erb | 21 ++++++++++++++++++--- app/views/locations/index.html.erb | 14 +++++++------- app/views/locations/show.html.erb | 17 ++++++++++------- 3 files changed, 35 insertions(+), 17 deletions(-) (limited to 'app') diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index c497ea1..e7f9696 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -54,9 +54,24 @@

Skills

-
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 @@ -

Locations

+

Locations

- +<% @locations.each do |location| %> +
+

<%= link_to location.name, location_path(location) %>

+

<%= location.description %>

+
+<% end %> 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 @@ -

<%= @location.name %>

+
+

<%= @location.name %>

+

<%= @location.description %>

+
- +<% @location.activities.each do |activity| %> +
+

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

+

<%= activity.description %>

+
+<% end %> -- cgit v1.2.3