Sha256: 04fdc651a577b6a24649b91fa73fa5dc542c29c4576b3a2a5a89ea9cedfc6df7
Contents?: true
Size: 626 Bytes
Versions: 13
Compression:
Stored size: 626 Bytes
Contents
%li[asset] .asset .thumbnail - if asset.attachment_content_type =~ /image/ = link_to image_tag(asset.icon_path), asset.attachment.url(:medium), :class => 'fancybox', :title => asset.title, :rel => "image_group" - else = link_to image_tag(asset.icon_path), asset.attachment.url, :target => "_" %small = asset.list_title .spacer .float-left= link_to "Edit", edit_forge_asset_path(asset), :class => ("basic-asset-edit" unless asset.attachment_content_type.match(/video/)) .float-right= link_to "Delete", forge_asset_path(asset), :method => :delete, :confirm => "Are you sure?"
Version data entries
13 entries across 13 versions & 1 rubygems