Sha256: 2cf1a764a0767ba18be85cb9fe8422996f8dfbaf1869e3f25f76c27543daca41

Contents?: true

Size: 853 Bytes

Versions: 7

Compression:

Stored size: 853 Bytes

Contents

<% content_for :page_actions do %>
  <% product_actions.items.each do |action| %>
    <% next unless action.available?(current_ability) %>
    <%= button_link_to(
      Spree.t(action.label_translation_key),
      action.url(@product),
      class: action.classes,
      icon: action.icon_key,
      id: action.id,
      target: action.target,
      data: action.data_attributes
    ) %>
  <% end if product_actions&.items %>
<% end %>

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

<%= form_for [:admin, @product], method: :put, html: { multipart: true } do |f| %>
  <fieldset>
    <%= render partial: 'form', locals: { f: f } %>
    <%= render partial: 'spree/admin/shared/edit_resource_links' %>
  </fieldset>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_backend-4.8.4 app/views/spree/admin/products/edit.html.erb
spree_backend-4.8.3 app/views/spree/admin/products/edit.html.erb
spree_backend-4.8.2 app/views/spree/admin/products/edit.html.erb
spree_backend-4.8.1 app/views/spree/admin/products/edit.html.erb
spree_backend-4.7.2 app/views/spree/admin/products/edit.html.erb
spree_backend-4.7.1 app/views/spree/admin/products/edit.html.erb
spree_backend-4.7.0 app/views/spree/admin/products/edit.html.erb