Sha256: 9809053fd8c4f2081e2cdaa7141f1103da36b29cb1114b9bea45ca5ec78d29ed
Contents?: true
Size: 861 Bytes
Versions: 19
Compression:
Stored size: 861 Bytes
Contents
<% content_for :page_actions do %> <% if frontend_available? %> <%= button_link_to Spree.t(:preview_product), product_url(@product), { class: "btn-outline-secondary", icon: 'eye-open', id: 'admin_preview_product', target: :_blank } %> <% end %> <% if can?(:create, Spree::Product) %> <%= button_link_to Spree.t(:new_product), new_object_url, { class: "btn-success", icon: 'add', id: 'admin_new_product' } %> <% end %> <% 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
19 entries across 19 versions & 1 rubygems