mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
11 lines
505 B
Plaintext
11 lines
505 B
Plaintext
= form_for [:admin, @product, @image], html: { multipart: true } do |f|
|
|
%fieldset
|
|
%legend{ align: "center" }= t('spree.new_image')
|
|
= render partial: 'form', locals: { f: f }
|
|
.form-buttons.filter-actions.actions
|
|
= button t('spree.actions.update'), 'icon-refresh'
|
|
%span.or= t('spree.or')
|
|
= link_to_with_icon 'icon-remove', t('spree.actions.cancel'), admin_product_images_url(@product), id: 'cancel_link', class: 'button'
|
|
|
|
= javascript_include_tag 'admin/spree/images/new.js'
|