<%= t(:rules) %> <%= form_for(@promotion, :url => object_url, :html => { :method => :put }) do |f| %>

<% for policy in Promotion::MATCH_POLICIES %>   <% end %>

<% if @promotion.rules.any? %> <%= render :partial => 'promotion_rule', :collection => @promotion.rules, :locals => {} %> <% else %> <% end %>

<%= button t("update") %>

<% end %> <%= form_tag(admin_promotion_promotion_rules_path(@promotion), :remote => true, :id => 'new_product_rule_form') do %> <% options = options_for_select( PromotionRule.registered_class_names.map {|name| [ t("promotion_rule_types.#{name.demodulize.underscore}.name"), name] } ) %>

<%= select_tag("promotion_rule[type]", options) %>

<% end %>