Sha256: c4828c0ecf9abafb831f7eee154a2ce0eafecd7dbd9e98e31a184405b74f63b5

Contents?: true

Size: 325 Bytes

Versions: 6

Compression:

Stored size: 325 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')
  = f.file_field field.name

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ksk-0.1.4 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.1.3 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.1.2 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.1.1 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.1.0 app/views/bhf/entries/form/column/_s3_file.html.haml
ksk-0.0.2 app/views/bhf/entries/form/column/_s3_file.html.haml