Sha256: 68a666000f1a60188b8c2262d652bb6e4e8710b243d5f6cd08941b085e9f05cf

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

- unless object.send(column.name).blank?
  - file = object.send(column.name)
  - if type_is_image?(file.content_type)
    = image_tag find_smallest_size_url_for_file(file), alt: object.send(column.name), class: 'preview_image'
  - else
    = file.original_filename

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bhf-0.8.0 app/views/bhf/pages/macro/column/_paperclip.haml
bhf-0.7.16 app/views/bhf/pages/macro/column/_paperclip.haml