diff options
author | David Gay <david@davidgay.org> | 2021-05-27 17:27:42 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-27 17:27:42 -0400 |
commit | 82ebb73bb4fc53ec5af428a88809ab8f11e52c0b (patch) | |
tree | aa1e85e2bdb4a772317f89dc8f56db42df92d6d9 /app/views/characters | |
parent | 25b01cb1df594d0b80adf719ef1cb5dbe9c62ab5 (diff) |
Display cost and requirements of any activity that fails to start
Diffstat (limited to 'app/views/characters')
-rw-r--r-- | app/views/characters/hearth/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/characters/hearth/index.html.erb b/app/views/characters/hearth/index.html.erb index 82dfbe8..20b6fc0 100644 --- a/app/views/characters/hearth/index.html.erb +++ b/app/views/characters/hearth/index.html.erb @@ -33,7 +33,7 @@ <%= f.hidden_field :queued_actions, value: 0 %> <%= f.submit construct_activity.name %> <% end %> - <div class="text-sm">(costs <%= construct_activity.cost_string %>)</div> + <div class="text-sm">(costs <%= construct_activity.costs.join(", ")%>)</div> </div> <% end %> </div> @@ -47,5 +47,5 @@ <%= f.hidden_field :queued_actions, value: 0 %> <%= f.submit construct_activity.name %> <% end %> - (costs <%= construct_activity.cost_string %>) + (costs <%= construct_activity.costs.join(", ")%>) <% end %> |