summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-26 20:57:47 -0400
committerDavid Gay <david@davidgay.org>2021-05-26 20:57:47 -0400
commit8cec9b3f6f277399c6da23a04d8afb0c68cf8a2b (patch)
tree749356642343c8f7ad2e20f7d3d94fe709c26725 /app/views
parent920b9a66eb2d7e7810c16f1d9b70d65a19736487 (diff)
Basic usage of hearth amenities
Diffstat (limited to 'app/views')
-rw-r--r--app/views/characters/hearth/index.html.erb3
1 files changed, 3 insertions, 0 deletions
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) %>