21 lines
666 B
Text
21 lines
666 B
Text
%header
|
|
= image_tag @item.thumbnail_url, :id => 'item-thumbnail'
|
|
%h2#item-name= @item.name
|
|
|
|
%p= @item.description
|
|
|
|
%h3 Preview
|
|
|
|
#item-preview
|
|
#item-preview-species= standard_species_images(@item.supported_species)
|
|
#item-preview-error
|
|
#item-preview-swf{'data-impress-host' => RemoteImpressHost}
|
|
Javascript and Flash are required to preview wearables. Sorry!
|
|
|
|
:javascript
|
|
var CURRENT_ITEM_ZONES_RESTRICT = #{@item.zones_restrict.inspect};
|
|
|
|
- content_for :javascripts do
|
|
= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js',
|
|
'http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js',
|
|
'items/show'
|