Sha256: e0b8b19fcddb359c529d910ec76c8e51129de80a4a0cf19f81e1892676e0b5d9

Contents?: true

Size: 699 Bytes

Versions: 31

Compression:

Stored size: 699 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

31 entries across 31 versions & 1 rubygems

Version Path
solidus_backend-4.4.2 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.4.1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.4.0 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.3.4 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.2.4 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.1.5 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.3.3 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.3.2 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.1.4 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.3.1 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.3.0 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.2.3 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.1.3 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.0.4 app/views/spree/admin/variants/edit.html.erb
solidus_backend-3.4.6 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.0.3 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.1.2 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.2.2 app/views/spree/admin/variants/edit.html.erb
solidus_backend-3.4.5 app/views/spree/admin/variants/edit.html.erb
solidus_backend-4.2.1 app/views/spree/admin/variants/edit.html.erb