Sha256: 0387859d741e4cb7b08b261bad57f9d28341af818fa150119d515c35cff1cf73

Contents?: true

Size: 460 Bytes

Versions: 101

Compression:

Stored size: 460 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', :filename => asset.filename), :method => :delete
.clear

Version data entries

101 entries across 101 versions & 2 rubygems

Version Path
qbrick-2.7.1 app/views/qbrick/cms/assets/_list.html.haml
kuhsaft-0.3.4.legacy3 app/views/kuhsaft/cms/assets/_list.html.haml
qbrick-2.7 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.10 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.9 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.8 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.7 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.6 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.5 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.4 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.3 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.2 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.6.1 app/views/qbrick/cms/assets/_list.html.haml
kuhsaft-2.6.3 app/views/kuhsaft/cms/assets/_list.html.haml
qbrick-2.6.0 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.5.2 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.5.1 app/views/qbrick/cms/assets/_list.html.haml
qbrick-2.5.0 app/views/qbrick/cms/assets/_list.html.haml
kuhsaft-2.6.2 app/views/kuhsaft/cms/assets/_list.html.haml
kuhsaft-2.6.1 app/views/kuhsaft/cms/assets/_list.html.haml