14 lines
501 B
Text
14 lines
501 B
Text
- title @outfit.name
|
|
- javascript_chain :jquery, :swfobject, 'wardrobe', 'outfits/show'
|
|
%a.button#outfit-wardrobe-link{:href => wardrobe_path(:anchor => @outfit.to_query)}
|
|
Edit a copy
|
|
#outfit-user
|
|
Created by
|
|
== #{link_to @outfit.user.name, user_contributions_path(@outfit.user)},
|
|
%span{:title => @outfit.created_at}= time_ago_in_words @outfit.created_at
|
|
ago
|
|
#preview-wrapper
|
|
#preview-swf
|
|
#outfit-items= render @outfit.worn_items
|
|
:javascript
|
|
var INITIAL_OUTFIT_DATA = #{@outfit.to_json};
|