
<!-- <div class="span12">
		<div class="page-header">
		 <ul class="breadcrumb">
		   	<li><a href="<%= root_path %>">Home</a></li>
  			<li><a href="<%= edit_settings_promotion_path(@promotion) %>">Promotion</a></li>
  			<!-- <li><a href="<%= settings_promotion_promotion_products_path %>">Promotion Products</a></li> 
		  	<li>New</li>
		 </ul>
		</div>
    <%= render 'form', promotion_products: @promotion_product %>
</div> -->
<div class="page-header">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="<%= root_path %>">Home</a></li>
    <li class="breadcrumb-item"><!-- <a href="<%= settings_promotion_promotion_products_path %>"> -->Promotion Products</a></li>
    <li class="breadcrumb-item active">Edit</li>
    <span class="float-right">
      <%= link_to 'Back', settings_products_path %>
    </span>
  </ol>
</div>
<br>
<%= render 'form', promotion_products: @promotion_product %>
<script>
$("#promotion_promo_code").val(Math.random().toString(36).slice(5) + Math.random().toString(36).slice(5));
</script>
