Sha256: 9d56c7c060408ebf60d32ebacd7acb45d9e1a28533207382219b9824b1ebb083

Contents?: true

Size: 189 Bytes

Versions: 8

Compression:

Stored size: 189 Bytes

Contents

- file = column_value
- if type_is_image?(file.content_type)
  = image_tag find_smallest_size_url_for_file(file), alt: column_value, class: 'preview_image'
- else
  = file.original_filename

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bhf-0.9.1 app/views/bhf/table/column/_paperclip.haml
bhf-0.9.0 app/views/bhf/table/column/_paperclip.haml
bhf-0.8.7 app/views/bhf/table/column/_paperclip.haml
bhf-0.8.6 app/views/bhf/table/column/_paperclip.haml
bhf-0.8.5 app/views/bhf/table/column/_paperclip.haml
bhf-0.8.4 app/views/bhf/table/column/_paperclip.haml
bhf-0.8.3 app/views/bhf/table/column/_paperclip.haml
bhf-0.8.2 app/views/bhf/table/column/_paperclip.haml