mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Import variants/edit.html.erb from spree_backend
This commit is contained in:
15
app/views/spree/admin/variants/edit.html.erb
Normal file
15
app/views/spree/admin/variants/edit.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<%= render :partial => 'spree/admin/shared/product_sub_menu' %>
|
||||
|
||||
<%= render :partial => 'spree/admin/shared/product_tabs', :locals => { :current => 'Variants' } %>
|
||||
|
||||
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @variant } %>
|
||||
|
||||
<%= form_for [:admin, @product, @variant] do |f| %>
|
||||
<fieldset class="no-border-top">
|
||||
<div data-hook="admin_variant_edit_form">
|
||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||
</div>
|
||||
|
||||
<%= render :partial => 'spree/admin/shared/edit_resource_links' %>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user