Sha256: af1680196a5164e3da3f4d0be44cef277544dd8c421c21e712160247f8db5a5f

Contents?: true

Size: 785 Bytes

Versions: 26

Compression:

Stored size: 785 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 %>
<% 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

26 entries across 26 versions & 2 rubygems

Version Path
solidus_backend-2.6.6 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.7.4 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.7.3 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.6.5 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.7.2 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.6.4 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.6.3 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.7.1 app/views/spree/admin/products/edit.html.erb
solidus_backend-2.6.2 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.14 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.13 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.12 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.11 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.10 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.9 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.8 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.7 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.6 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.5 app/views/spree/admin/products/edit.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.4 app/views/spree/admin/products/edit.html.erb