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

Version Path
forge-cli-0.1.10 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.9 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.8 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.7 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.6 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.5 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.4 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.3 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.2 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.1 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.1.0 lib/forge/app/views/forge/assets/_asset.html.haml