Sha256: 87f6837019a37c22c8c2a7a8448fabe84badcc6b635cca7c10d21f317908e29a

Contents?: true

Size: 731 Bytes

Versions: 15

Compression:

Stored size: 731 Bytes

Contents

<%= render :partial => 'spree/admin/shared/product_tabs', :locals => { :current => 'Variants' } %>

<% admin_breadcrumb(link_to plural_resource_name(Spree::Variant), admin_product_variants_path(@product)) %>
<% admin_breadcrumb(@variant.options_text) %>


<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @variant } %>


<%= form_for [:admin, @product, @variant] do |f| %>
  <fieldset>
    <legend><%= t('.edit_variant') %></legend>
    <div data-hook="admin_variant_edit_form">
      <%= render :partial => 'form', :locals => { :f => f } %>
    </div>

    <% if can?(:update, @variant) %>
      <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
    <% end %>
  </fieldset>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.0.3 app/views/spree/admin/variants/edit.html.erb
solidus_backend-1.4.2 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.0.2 app/views/spree/admin/variants/edit.html.erb
solidus_backend-1.4.1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.1.0 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.0.1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.0.0 app/views/spree/admin/variants/edit.html.erb
solidus_backend-1.4.0 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/variants/edit.html.erb