1
0
Fork 0
forked from OpenNeo/impress

Group alt styles by species

This commit is contained in:
Emi Matchu 2024-01-24 07:53:37 -08:00
parent 7a1239ae5a
commit 495366e73e

View file

@ -13,4 +13,6 @@
so there's not a great way for us to get style tokens onto tradelists… this
may change someday, but probably not soon, sorry!)
%ul.alt-styles-list= render partial: "alt_style", collection: @alt_styles
- @alt_styles.group_by(&:species).each do |species, species_styles|
%h2= species.human_name
%ul.alt-styles-list= render partial: "alt_style", collection: species_styles