impress/app/views/items/_item_link.html.haml

7 lines
268 B
Text
Raw Normal View History

-# NOTE: Changing this requires bumping the cache at `_closet_list.html.haml`!
= link_to item_path(item) do
= image_tag item.thumbnail_url, alt: "Thumbnail for #{item.name}",
title: item.description, loading: "lazy"
%span.name= item.name
= nc_icon_for(item)