Files
openfoodnetwork/app/views/spree/admin/images/_form.html.haml
Matt-Yorkley 8e99f496ff Migrate product image from master variant to product
(cherry picked from commit 7dc1091bc2)
2023-06-23 14:16:44 +10:00

15 lines
302 B
Plaintext

%div
= f.hidden_field :viewable_id, value: @product.id
.four.columns.alpha
.field
= f.label t('spree.filename')
%br/
= f.file_field :attachment
.field.omega.five.columns
= f.label t('spree.alt_text')
%br/
= f.text_area :alt, rows: 4, class: 'fullwidth'
.clear