forked from OpenNeo/impress
correct metadata on species thumbnail
This commit is contained in:
parent
66c43e220a
commit
108fe9f2dd
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module ItemsHelper
|
||||||
pet_type.species = species
|
pet_type.species = species
|
||||||
pet_type.color = color
|
pet_type.color = color
|
||||||
src = sprintf(StandardSpeciesImageFormat, pet_type.image_hash)
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue