Sha256: ac4ae1efb995e1054f331a2d5bc0bdcd3e4ea4dcd24c6e1531a63f7c6820a6af

Contents?: true

Size: 431 Bytes

Versions: 6

Compression:

Stored size: 431 Bytes

Contents

- @assets.each do |asset|
  .asset-pic
    .thumb
      - if [:png, :jpg, :jpeg].include? asset.file_type
        = link_to image_tag(asset.file.thumb.url), edit_cms_asset_path(asset)
      - else
        = link_to asset.name, edit_cms_asset_path(asset)
    .copy
      %input.string{ :type => :text, :value => asset.file.url }
    = link_to t('.delete'), cms_asset_path(asset), :confirm => t('.confirm'), :method => :delete
.clear

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kuhsaft-0.2.legacy4 app/views/kuhsaft/cms/assets/_list.html.haml
kuhsaft-0.2.legacy3 app/views/kuhsaft/cms/assets/_list.html.haml
kuhsaft-0.2.legacy2 app/views/kuhsaft/cms/assets/_list.html.haml
kuhsaft-0.2.legacy app/views/kuhsaft/cms/assets/_list.html.haml
kuhsaft-0.2.1 app/views/kuhsaft/cms/assets/_list.html.haml
kuhsaft-0.2 app/views/kuhsaft/cms/assets/_list.html.haml