correct metadata on species thumbnail

This commit is contained in:
Emi Matchu 2010-05-16 16:16:39 -04:00
parent 66c43e220a
commit 108fe9f2dd

View file

@ -9,7 +9,7 @@ module ItemsHelper
pet_type.species = species
pet_type.color = color
src = sprintf(StandardSpeciesImageFormat, pet_type.image_hash)
html + image_tag(src, 'data-color' => color, 'data-species' => species.name)
html + image_tag(src, 'data-color-id' => color.id, 'data-species-id' => species.id, 'data-species-name' => species.name)
end)
end
end