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


<%= form_for :promotion, :url => collection_url do |f| %>
  <fieldset class="no-border-top">
    <%= render :partial => 'form', :locals => { :f => f } %>
    <%= render :partial => 'spree/admin/shared/new_resource_links' %>
  </fieldset>
<% end %>

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


<%= form_for @promotion, :url => collection_url do |f| %>
  <fieldset class="no-border-top">
    <%= render :partial => 'form', :locals => { :f => f } %>
    <%= render :partial => 'spree/admin/shared/new_resource_links' %>
  </fieldset>
<% end %>

Replace :symbol with instance var in form_for
Replace :symbol with instance var in form_for

Current form_for is not compatible with `hints` because the helper does
not have access to the object. This commit replaces the :promotion
symbol with the @promotion instance variable.

Only difference between the old form_tag and the new form_tag is that
the new form_tag will have a `new_promotion` css class/html ID
