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 |
---|---|
kuhsaft-0.2.2 | app/views/kuhsaft/cms/assets/_list.html.haml |