[WV2] Simplify item search layout
This commit is contained in:
parent
74386b45d7
commit
955aeb984e
1 changed files with 20 additions and 20 deletions
|
|
@ -85,8 +85,6 @@
|
|||
= submit_tag "Change pose", name: nil, class: "pose-submit-button"
|
||||
|
||||
.outfit-controls-section
|
||||
%h1 Customize your pet
|
||||
|
||||
= form_with url: wardrobe_v2_path, method: :get, class: "item-search-form" do |f|
|
||||
= outfit_state_params
|
||||
= f.text_field "q[name]", placeholder: "Search for items...", value: params.dig(:q, :name), "aria-label": "Search for items"
|
||||
|
|
@ -94,7 +92,9 @@
|
|||
|
||||
- if @search_mode
|
||||
= render "search_results"
|
||||
- elsif @outfit.worn_items.any?
|
||||
- else
|
||||
%h1 Untitled outfit
|
||||
- if @outfit.worn_items.any?
|
||||
.worn-items
|
||||
- outfit_items_by_zone(@outfit).each do |zone_group|
|
||||
.zone-group
|
||||
|
|
|
|||
Loading…
Reference in a new issue