1
0
Fork 0
forked from OpenNeo/impress
impress/app/views/items/_outfit_viewer.html.haml
Emi Matchu 81a58f8656 Extract outfit-viewer to a separate template
Just cuz this is gonna get more complex down the line!
2024-07-02 22:43:36 -07:00

9 lines
No EOL
227 B
Text

.outfit-viewer
- outfit.visible_layers.each do |swf_asset|
%outfit-layer{
data: {
"asset-id": swf_asset.id,
"zone": swf_asset.zone.label,
},
}
= image_tag swf_asset.image_url, alt: ""