mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
18 lines
740 B
Plaintext
18 lines
740 B
Plaintext
= render partial: 'spree/admin/shared/configuration_menu'
|
|
|
|
- content_for :page_title do
|
|
= t("spree.taxon_edit")
|
|
|
|
- content_for :page_actions do
|
|
%li
|
|
= button_link_to t("spree.back_to_taxonomies_list"), spree.admin_taxonomies_path, icon: 'icon-arrow-left'
|
|
|
|
- # Because otherwise the form would attempt to use to_param of @taxon
|
|
- form_url = admin_taxonomy_taxon_path(@taxonomy.id, @taxon.id)
|
|
= form_for [:admin, @taxonomy, @taxon], method: :put, url: form_url, html: { multipart: true } do |f|
|
|
= render partial: 'form', locals: { f: f }
|
|
.form-buttons
|
|
= button t('spree.actions.update'), 'icon-refresh'
|
|
= t("spree.or")
|
|
= button_link_to t('spree.actions.cancel'), edit_admin_taxonomy_url(@taxonomy), icon: "icon-remove"
|