diff options
author | David Gay <david@davidgay.org> | 2021-05-26 20:57:47 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-26 20:57:47 -0400 |
commit | 8cec9b3f6f277399c6da23a04d8afb0c68cf8a2b (patch) | |
tree | 749356642343c8f7ad2e20f7d3d94fe709c26725 /app/views/characters | |
parent | 920b9a66eb2d7e7810c16f1d9b70d65a19736487 (diff) |
Basic usage of hearth amenities
Diffstat (limited to 'app/views/characters')
-rw-r--r-- | app/views/characters/hearth/index.html.erb | 3 |
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) %> |