Sha256: 810e372f113429aadf64a488332526d03b9c1355e382f3724e560665d8f1280b

Contents?: true

Size: 297 Bytes

Versions: 12

Compression:

Stored size: 297 Bytes

Contents

= content_tag link ? :a : :span, class: ('quick_edit' if add_quick_link), href: (link if link) do
  - 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

12 entries across 12 versions & 1 rubygems

Version Path
bhf-0.10.12 app/views/bhf/table/column/_paperclip.html.haml
bhf-0.10.11 app/views/bhf/table/column/_paperclip.html.haml
bhf-0.10.10 app/views/bhf/table/column/_paperclip.html.haml
bhf-0.10.9 app/views/bhf/table/column/_paperclip.html.haml
bhf-0.9.9 app/views/bhf/table/column/_paperclip.html.haml
bhf-0.9.8 app/views/bhf/table/column/_paperclip.haml
bhf-0.9.7 app/views/bhf/table/column/_paperclip.haml
bhf-0.9.6 app/views/bhf/table/column/_paperclip.haml
bhf-0.9.5 app/views/bhf/table/column/_paperclip.haml
bhf-0.9.4 app/views/bhf/table/column/_paperclip.haml
bhf-0.9.3 app/views/bhf/table/column/_paperclip.haml
bhf-0.9.2 app/views/bhf/table/column/_paperclip.haml