mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
9726 Use active storage filename instead of attachment_file_name of paperclip
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
= form_for [:admin, @product, @image], url: admin_product_image_path(@product, @image, @url_filters), html: { multipart: true } do |f|
|
||||
%fieldset
|
||||
%legend{align: "center"}= @image.attachment_file_name
|
||||
%legend{align: "center"}= @image.attachment&.filename
|
||||
.field.alpha.three.columns.align-center
|
||||
= f.label t('spree.thumbnail')
|
||||
%br/
|
||||
|
||||
Reference in New Issue
Block a user