Emi Matchu
4a431a4ae8
By default, Rails gives this button the name `commit`, so it appears in the URL the form sends to. By setting the name to `nil`, Rails doesn't set a `name` attribute on the HTML element, so it's *not* included.
37 lines
1.3 KiB
Text
37 lines
1.3 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 :series, @all_series_names,
|
|
selected: @series_name, include_blank: "Style…"
|
|
= 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", name: nil
|
|
|
|
= will_paginate @alt_styles, class: "rainbow-pool-pagination"
|
|
|
|
%ul.rainbow-pool-list= render @alt_styles
|
|
|
|
= will_paginate @alt_styles, class: "rainbow-pool-pagination"
|
|
|
|
- content_for :stylesheets do
|
|
= stylesheet_link_tag "application/rainbow-pool"
|
|
= page_stylesheet_link_tag "alt_styles/index"
|