From 8cec9b3f6f277399c6da23a04d8afb0c68cf8a2b Mon Sep 17 00:00:00 2001 From: David Gay Date: Wed, 26 May 2021 20:57:47 -0400 Subject: Basic usage of hearth amenities --- app/views/characters/hearth/index.html.erb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/views') diff --git a/app/views/characters/hearth/index.html.erb b/app/views/characters/hearth/index.html.erb index 563d4b6..a5522ad 100644 --- a/app/views/characters/hearth/index.html.erb +++ b/app/views/characters/hearth/index.html.erb @@ -20,6 +20,9 @@ <%= f.submit "Go" %> <% end %> <% end %> + <% if built_amenity.usable? %> + <%= button_to "Use", hearth_amenity_use_path(built_amenity.hearth_amenity) %> + <% end %> <% end %> <% next_level = built_amenity ? built_amenity.level + 1 : 1 %> <% construct_activity = ha.construct_activity(next_level) %> -- cgit v1.2.3