1
0
Fork 0
forked from OpenNeo/impress
impress/app/views/outfits/_outfit.html.haml

14 lines
482 B
Text

= outfit_li_for(outfit) do
- if outfit.image?
= link_to outfit_image_tag(outfit), outfit
%header
.outfit-star
= link_to outfit.name, outfit, :class => 'outfit-name'
%footer
= link_to t('.edit'), outfit, :class => 'outfit-edit-link'
= button_to t('.delete'), outfit, :method => 'delete',
:class => 'outfit-delete-button',
:confirm => t('.delete_confirmation',
:outfit_name => outfit.name)