Sha256: 9aa6b787b4fd4b71d1d46b8a11cbbc5585d0e5d34b50cbee49f50eb1fda01672

Contents?: true

Size: 693 Bytes

Versions: 1

Compression:

Stored size: 693 Bytes

Contents

<% content_for :page_actions do %>
  <% if can?(:admin, Spree::SalePrice) %>
    <li><%= button_link_to Spree.t(:back_to_sale_prices_list), admin_product_sale_prices_path(@product), icon: 'arrow-left' %></li>
  <% end %>
<% end %>

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

<% content_for :page_title do %>
  <%= Spree.t(:sale_price) %>
<% end %>

<%= form_for [:admin, @product, @sale_price], method: :put do |f| %>
  <%= render 'form', f: f %>
  <%= render 'spree/admin/shared/edit_resource_links', collection_url: admin_product_sale_prices_url %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_sale_pricing-2.0.1 app/views/spree/admin/sale_prices/edit.html.erb