<% admin_layout "full-width" %>

<% admin_breadcrumb(link_to plural_resource_name(Spree::Promotion), spree.admin_promotions_path) %>
<% admin_breadcrumb(t('spree.new_promotion')) %>

<% content_for :head  do %>
  <%= stylesheet_link_tag 'solidus_legacy_promotions/promotions' %>
  <%= javascript_include_tag 'spree/backend/edit_promotion' %>
<% end %>

<%= form_for @promotion, url: collection_url do |f| %>
  <%= render partial: 'form', locals: { f: f } %>
  <%= render partial: 'spree/admin/shared/new_resource_links' %>
<% end %>
