Sha256: 71d2eee0b1287dfe422a422e7399b82be3eaa7f2c568ed29f8a6a606e6e2dfbe

Contents?: true

Size: 1017 Bytes

Versions: 46

Compression:

Stored size: 1017 Bytes

Contents

<% content_for :page_actions do %>
  <% if can?(:create, Spree::Product) %>
    <li id="new_product_link">
      <%= link_to t('spree.new_product'), new_object_url, id: 'admin_new_product', class: 'btn btn-primary' %>
    </li>
  <% end %>
  <% if frontend_product_path(@product) %>
    <li id="view_product_link">
      <%= link_to t('spree.view_product'), frontend_product_path(@product), id: 'admin_view_product', class: 'btn btn-default ml-2' %>
    </li>
  <% end %>
<% end %>

<%= render partial: 'spree/admin/shared/product_tabs', locals: { current: 'Product Details' } %>
<%= render partial: 'spree/shared/error_messages', locals: { target: @product } %>

<% admin_breadcrumb(t('spree.product_details')) %>

<%= form_for [:admin, @product], html: { multipart: true } do |f| %>
  <fieldset class="no-border-top">
    <%= render partial: 'form', locals: { f: f } %>
    <% if can?(:update, @product) %>
      <%= render partial: 'spree/admin/shared/edit_resource_links' %>
    <% end %>
  </fieldset>
<% end %>

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
solidus_backend-4.1.1 app/views/spree/admin/products/edit.html.erb
solidus_backend-4.0.2 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.4.4 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.3.4 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.2.9 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.2.8 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.3.3 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.4.3 app/views/spree/admin/products/edit.html.erb
solidus_backend-4.0.1 app/views/spree/admin/products/edit.html.erb
solidus_backend-4.1.0 app/views/spree/admin/products/edit.html.erb
solidus_backend-4.0.0 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.4.2 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.2.7 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.3.2 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.4.1 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.4.0 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.3.1 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.2.6 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.3.0 app/views/spree/admin/products/edit.html.erb
solidus_backend-3.2.5 app/views/spree/admin/products/edit.html.erb