summaryrefslogtreecommitdiff
path: root/app/views/characters
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-28 11:26:44 -0400
committerDavid Gay <david@davidgay.org>2021-05-28 11:26:54 -0400
commit5ae89950fb330fd623634b98a77de259ab174b53 (patch)
tree3ec11fae10758379761f5b824586b1c22bc57c12 /app/views/characters
parentc522bc8efa0378e0fcbcfdd137d6cd2ae4010d5b (diff)
Lockbox unlocking, and with it items that start activities when used
Diffstat (limited to 'app/views/characters')
-rw-r--r--app/views/characters/items/index.html.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/characters/items/index.html.erb b/app/views/characters/items/index.html.erb
index 14d4b13..f40e666 100644
--- a/app/views/characters/items/index.html.erb
+++ b/app/views/characters/items/index.html.erb
@@ -13,7 +13,7 @@
<tbody>
<% @character.equipment.order(:slot).each do |eq| %>
<tr>
- <td class="table-cell-padded"><%= eq.slot.to_s %></td>
+ <td class="table-cell-padded"><%= eq.slot.to_s.humanize %></td>
<td class="table-cell-padded"><%= eq.item.name %></td>
<td class="table-cell-padded">
<%= button_to "Unequip", character_item_unequip_path(slot: eq.slot ) %>
@@ -23,8 +23,6 @@
</tbody>
</table>
-
-
<h2 class="text-xl mb-4">Inventory</h2>
<table class="table-auto mb-8">