
<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
    <%= simple_form_for([:settings,@promotion,@promotion_product]) do |f| %>
      <%= f.error_notification %>

      <div class="form-inputs">
        <div class="div-border">
            <div class="row">
              <div class="col-md-12"><%= f.input :item_code  %></div>
            </div>
            <% if @promotion.promo_type == Promotion::PROMO_TYPE1 %>
            <div class="row">
              <div class="col-md-12"><%= f.input :min_qty %></div>
            </div>
            <% elsif @promotion.promo_type == Promotion::PROMO_TYPE2 %>
            <div class="row">
              <div class="col-md-12"><%= f.input :net_off %></div>
            </div>
            <% elsif @promotion.promo_type == Promotion::PROMO_TYPE3 %>
            <div class="row">
              <div class="col-md-12"><%= f.input :net_price %></div>
            </div>
            <% elsif @promotion.promo_type == Promotion::PROMO_TYPE4 %>
            <div class="row">
              <div class="col-md-12"><%= f.input :percentage %></div>
            </div>
            <% end %>
        </div>
      </div>

      <div class="form-actions">
        <%= f.submit "Submit",:class => 'btn btn-primary btn-lg waves-effect' %>
      </div>
    <% end %>
  </div>
  <div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
    <div class="card">
      <div class="body">
          Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
         tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
         quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
         consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
      </div>
    </div>  
  </div>
</div>
 
