2011-03-23 15:23:01 -07:00
|
|
|
= outfit_li_for(outfit) do
|
2012-07-29 12:43:28 -07:00
|
|
|
- if outfit.image?
|
2024-02-08 10:07:09 -08:00
|
|
|
= link_to outfit_image_tag(outfit), outfit
|
2012-07-29 12:43:28 -07:00
|
|
|
|
|
|
|
%header
|
|
|
|
.outfit-star
|
2024-03-13 13:56:10 -07:00
|
|
|
= link_to outfit.name, outfit, class: 'outfit-name'
|
2012-07-29 12:43:28 -07:00
|
|
|
|
|
|
|
%footer
|
2024-03-13 13:56:10 -07:00
|
|
|
= link_to t('.edit'), outfit, class: 'outfit-edit-link'
|
|
|
|
= button_to t('.delete'), outfit, method: 'delete',
|
|
|
|
class: 'outfit-delete-button',
|
|
|
|
data: {turbo_confirm: t('.delete_confirmation', outfit_name: outfit.name)}
|