Sha256: 319e8f29f6042e8be4327aab543fd3a80d6f58f9ed8cc857e915d4fce5ea91fe
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
= node f, field do - f.object.send(field.name).attachments.each do |attachment| - if attachment.present? = render partial: 'bhf/form/column/attachment_presenter', locals: {attachment: attachment} - if f.object.respond_to?(:"#{field.name}_destroy") .file_delete = f.check_box "#{field.name}_destroy" = f.label "#{field.name}_destroy", t('bhf.helpers.file.delete') =# f.file_field field.name, direct_upload: true, data: {:'direct-upload-url' => main_app.rails_direct_uploads_url}
Version data entries
6 entries across 6 versions & 1 rubygems