<% content_for :page_title do %> <%= @active_sale.name %> > <%= @active_sale_event.name %> > <%= t('spree.active_sale.event.title.edit') %> <% end %> <% content_for :page_actions do %>
  • <%= button_link_to t('spree.active_sale.link.edit'), [:edit, :admin, @active_sale], :icon => 'icon-arrow-left', :id => 'admin_active_sales_link' %>
  • <% end %>
    <%= form_for [:admin, @active_sale, @active_sale_event], :html => { :id => 'admin_active_sale_event', :multipart => true } do |form| %> <%= render :partial => 'form', :locals => { :form => form } %> <% end %>