Import variants/edit.html.erb from spree_backend

This commit is contained in:
Hugo Daniel
2019-07-31 16:55:47 +02:00
parent ec6f6056a8
commit 07ccbf7f98

View 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 %>