Sha256: 98d4be854084d607b32ceee17904701813daadb9748f065cf90a2d5e828cc78a

Contents?: true

Size: 256 Bytes

Versions: 18

Compression:

Stored size: 256 Bytes

Contents

= node f, field do
  - if f.object.file.file?
    - if f.object.is_image?
      = image_tag find_smallest_size_url_for_file(f.object.file), class: :uploaded_image
    - else
      = link_to f.object.file_file_name, f.object.file.url, class: :uploaded_file

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ksk-0.4.11 app/views/bhf/form/column/_file.html.haml
ksk-0.4.10 app/views/bhf/form/column/_file.html.haml
ksk-0.4.9 app/views/bhf/form/column/_file.html.haml
ksk-0.4.8 app/views/bhf/form/column/_file.html.haml
ksk-0.4.7 app/views/bhf/form/column/_file.html.haml
ksk-0.4.6 app/views/bhf/form/column/_file.html.haml
ksk-0.4.5 app/views/bhf/form/column/_file.html.haml
ksk-0.4.4 app/views/bhf/form/column/_file.html.haml
ksk-0.4.3 app/views/bhf/form/column/_file.html.haml
ksk-0.4.2 app/views/bhf/form/column/_file.html.haml
ksk-0.4.1 app/views/bhf/form/column/_file.html.haml
ksk-0.4.0 app/views/bhf/form/column/_file.html.haml
ksk-0.3.4 app/views/bhf/form/column/_file.html.haml
ksk-0.3.3 app/views/bhf/form/column/_file.html.haml
ksk-0.3.2 app/views/bhf/form/column/_file.html.haml
ksk-0.3.0 app/views/bhf/entries/form/column/_file.html.haml
ksk-0.2.15 app/views/bhf/entries/form/column/_file.html.haml
ksk-0.2.14 app/views/bhf/entries/form/column/_file.html.haml