Sha256: e016937bb1d69beece266d55442b5fc2b1794a2296d7da2e1865e95797be248f

Contents?: true

Size: 350 Bytes

Versions: 8

Compression:

Stored size: 350 Bytes

Contents

= node f, field do
  - if f.object.photo.file?
    - if false
      = image_tag f.object.photo.url, class: 'uploaded_image'
    - else
      = link_to file, file, class: 'uploaded_file'
    .file_delete
      = f.check_box :delete_photo
      = f.label :delete_photo, t('bhf.helpers.file.delete')
  - unless @quick_edit
    = f.file_field field.name

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ksk-0.2.4 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.2.3 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.2.2 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.2.1 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.2.0 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.1.7 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.1.6 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.1.5 app/views/bhf/entries/form/column/_s3_file.html.haml