impress/app/views/closet_hangers/_petpage_hanger.html.haml

7 lines
342 B
Text
Raw Permalink Normal View History

%li.dti-item
= image_tag petpage_item_thumbnail_url(petpage_hanger.item), :alt => nil, :class => 'dti-item-thumbnail'
- if petpage_hanger.item.nc?
= image_tag nc_icon_url, :alt => t('items.item.nc.abbr'),
:class => 'dti-item-nc', :title => t('items.item.nc.description')
%span= petpage_item_name petpage_hanger.item