diff options
author | David Gay <david@davidgay.org> | 2021-06-06 20:58:51 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-06-06 20:58:51 -0400 |
commit | 307b921892a2efe9d956b00cd7992fe1402c6150 (patch) | |
tree | 49bd2b521503cc88a3bb8250e66780eb3c1fd66d /app/views | |
parent | 1fb595af078a823157a9a5fc1f6e1a3a505e8c41 (diff) |
Inventory: Move consumables up, just below equipment
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/characters/items/index.html.erb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/characters/items/index.html.erb b/app/views/characters/items/index.html.erb index af7b1ef..671e68f 100644 --- a/app/views/characters/items/index.html.erb +++ b/app/views/characters/items/index.html.erb @@ -23,6 +23,10 @@ character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.equipment? && ci.item.tags.none? } %> +<%= render "characters/items/inventory_section", heading: "Consumables", + character_items: @character.character_items.ordered_by_item_name.select { |ci| + ci.item.usable? } %> + <%= render "characters/items/inventory_section", heading: "Tools", character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.has_tag?("tool") } %> @@ -31,10 +35,6 @@ character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.has_tag?("currency") } %> -<%= render "characters/items/inventory_section", heading: "Consumables", - character_items: @character.character_items.ordered_by_item_name.select { |ci| - ci.item.usable? } %> - <%= render "characters/items/inventory_section", heading: "Seeds", character_items: @character.character_items.ordered_by_item_name.select { |ci| ci.item.has_tag?("seed") } %> |