diff --git a/app/views/spree/admin/images/edit.html.haml b/app/views/spree/admin/images/edit.html.haml index 6c6c035827..711dd32fbb 100644 --- a/app/views/spree/admin/images/edit.html.haml +++ b/app/views/spree/admin/images/edit.html.haml @@ -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&.filename + %legend{align: "center"}= @image.attachment.filename .field.alpha.three.columns.align-center = f.label t('spree.thumbnail') %br/