That is, there is no 8-bit alt style, so don't bother including it in the filter form; same for most other colors.
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
- title "Styling Studio"
|
|
- use_responsive_design
|
|
|
|
%p
|
|
Here's all the new NC Pet Styles we have! They're available in the app too,
|
|
by opening the emotion picker and clicking the "Styles" tab.
|
|
|
|
%p
|
|
If you have an Alt Style we don't, please model it by entering your pet's
|
|
name on the homepage! Thank you! 💖
|
|
|
|
%p
|
|
Also, heads-up: Because our system can only collect "item data" for normal
|
|
wearable items, there's not a great way for us to get style tokens onto
|
|
tradelists… this may change someday, but probably not soon, sorry!
|
|
|
|
= form_with url: alt_styles_path, method: :get,
|
|
class: "rainbow-pool-filters" do |f|
|
|
%fieldset
|
|
%legend Filter by:
|
|
= f.select :color, @all_color_names,
|
|
selected: @color&.human_name, include_blank: "Color…"
|
|
= f.select :species, @all_species_names,
|
|
selected: @species&.human_name, include_blank: "Species…"
|
|
= f.submit "Go"
|
|
|
|
- @alt_styles.group_by(&:species).each do |species, species_styles|
|
|
%h2.alt-styles-header= species.human_name
|
|
%ul.rainbow-pool-list
|
|
= render partial: "alt_style", collection: species_styles
|
|
|
|
- content_for :stylesheets do
|
|
= stylesheet_link_tag "application/rainbow-pool"
|
|
= page_stylesheet_link_tag "alt_styles/index"
|