mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove array syntax on new product form for product image
(cherry picked from commit 24aa55e053)
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
.row
|
||||
= image_tag Spree::Image.default_image_url(:product), class: "four columns alpha"
|
||||
.row
|
||||
= f.fields_for 'image_attributes[]', f.object.build_image do |image_fields|
|
||||
= f.fields_for 'image_attributes', f.object.build_image do |image_fields|
|
||||
= image_fields.file_field :attachment
|
||||
.sixteen.columns.alpha
|
||||
.form-buttons.filter-actions.actions
|
||||
|
||||
Reference in New Issue
Block a user