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

Version Path
forge-cli-0.0.18 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.17 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.16 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.15 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.14 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.13 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.12 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.11 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.10 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.9 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.8 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.7 lib/forge/app/views/forge/assets/_asset.html.haml
forge-cli-0.0.6 lib/forge/app/views/forge/assets/_asset.html.haml