mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Import variants/new.html.erb from spree_backend
This commit is contained in:
9
app/views/spree/admin/variants/new.html.erb
Normal file
9
app/views/spree/admin/variants/new.html.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @variant } %>
|
||||
|
||||
<%= form_for [:admin, @product, @variant] do |f| %>
|
||||
<fieldset data-hook="admin_variant_new_form">
|
||||
<legend align="center"><%= Spree.t(:new_variant) %></legend>
|
||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||
<%= render :partial => 'spree/admin/shared/new_resource_links' %>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user