From 44facc2e567eb3c045ce082428f42276e45b0202 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sat, 22 May 2021 18:10:19 -0400 Subject: Monsters and basic combat --- app/views/activities/_results.html.erb | 2 ++ app/views/activities/show.html.erb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views/activities') diff --git a/app/views/activities/_results.html.erb b/app/views/activities/_results.html.erb index 0fef8fb..5fde590 100644 --- a/app/views/activities/_results.html.erb +++ b/app/views/activities/_results.html.erb @@ -11,6 +11,8 @@

You constructed <%= result[:hearth_amenity].name %>.

<% when "activity" %>

You realized how to <%= result[:activity].name %>!

+ <% when "message" %> +

<%= result[:body] %>

<% when "error" %>

<%= result[:message] %>

<% end %> diff --git a/app/views/activities/show.html.erb b/app/views/activities/show.html.erb index 84c19a4..c9c6d25 100644 --- a/app/views/activities/show.html.erb +++ b/app/views/activities/show.html.erb @@ -2,7 +2,7 @@

<%= @activity.description %>

+ style="height: 30rem;" id="result_output">
-- cgit v1.2.3