Sha256: 3eef35a654f042fa1160a19a00db8130e0d942c4f459e658a2571c2a20617f7b
Contents?: true
Size: 639 Bytes
Versions: 11
Compression:
Stored size: 639 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, :data => { :confirm => "Are you sure?" }
Version data entries
11 entries across 11 versions & 1 rubygems