<% promotion_action = action_form.object %>
<div class="promotion_action <%= promotion_action.type.demodulize.underscore %>" id="<%= dom_id promotion_action %>">
  <span class="delete">
    <%= link_to_with_icon 'cross', '', admin_promotion_promotion_action_path(@promotion, promotion_action), :remote => true, :method' => 'delete' %>
  </span>
  <% type_name = promotion_action.class.name.demodulize.underscore %>
  <% param_prefix = "promotion[promotion_actions_attributes][#{promotion_action.id}]" %>
  <%#= hidden_field_tag "#{param_prefix}[id]", promotion_action.id %>
  <p><%= t "promotion_action_types.#{type_name}.description" %></p>

  <%= render "admin/promotions/actions/#{type_name}", :action_form => action_form, :promotion_action => promotion_action, :param_prefix => param_prefix %>
</div>

<% promotion_action = action_form.object %>
<div class="promotion_action <%= promotion_action.type.demodulize.underscore %>" id="<%= dom_id promotion_action %>">
  <span class="delete">
    <%= link_to_with_icon 'cross', '', admin_promotion_promotion_action_path(@promotion, promotion_action), :remote => true, :method => 'delete' %>
  </span>
  <% type_name = promotion_action.class.name.demodulize.underscore %>
  <% param_prefix = "promotion[promotion_actions_attributes][#{promotion_action.id}]" %>
  <%#= hidden_field_tag "#{param_prefix}[id]", promotion_action.id %>
  <p><%= t "promotion_action_types.#{type_name}.description" %></p>

  <%= render "admin/promotions/actions/#{type_name}", :action_form => action_form, :promotion_action => promotion_action, :param_prefix => param_prefix %>
</div>

Fix one mistake in promo action view
Fix one mistake in promo action view
