Sha256: 0eaaa27444de8159310450313801718ed3cd61b81d204429f4cf3961c3c665f7
Contents?: true
Size: 476 Bytes
Versions: 40
Compression:
Stored size: 476 Bytes
Contents
- type = image.class.to_s == "Image" ? "image" : "attachment" - image_id = image.class.to_s == "Image" ? image.id : image.image_id - attachment_id = image.class.to_s == "Image" ? nil : image.id %li.image{:id => "#{type}_#{image.id}", :'data-image_id' => image_id, :'data-attachment_id' => attachment_id } .wrapper %span.buffer = image_tag image.url(:preview) %span.title= truncate(image.title, 30, '...') %span.caption= image.caption .actions %span.delete
Version data entries
40 entries across 40 versions & 1 rubygems