impress/app/views/outfits/_outfit.html.haml

7 lines
308 B
Text
Raw Normal View History

= outfit_li_for(outfit) do
.outfit-star
%h4= link_to outfit.name, outfit
2011-07-14 10:14:06 -07:00
= link_to_edit_outfit 'Edit', outfit, :class => 'outfit-edit-link'
= button_to('Delete', outfit, :method => 'delete', :class => 'outfit-delete-button', :confirm => "Are you sure you want to delete the outfit #{outfit.name}?")