2011-03-23 15:23:01 -07:00
|
|
|
= outfit_li_for(outfit) do
|
2012-07-29 12:43:28 -07:00
|
|
|
- if outfit.image?
|
|
|
|
= link_to image_tag(outfit.image.small.url), outfit
|
|
|
|
|
|
|
|
%header
|
|
|
|
.outfit-star
|
|
|
|
= link_to outfit.name, outfit, :class => 'outfit-name'
|
|
|
|
|
|
|
|
%footer
|
2023-10-24 18:05:51 -07:00
|
|
|
= link_to t('.edit'), outfit, :class => 'outfit-edit-link'
|
2013-01-26 10:42:38 -08:00
|
|
|
= button_to t('.delete'), outfit, :method => 'delete',
|
|
|
|
:class => 'outfit-delete-button',
|
|
|
|
:confirm => t('.delete_confirmation',
|
|
|
|
:outfit_name => outfit.name)
|