<!-- BEGIN CONTAINER -->
<div class="page-container">
  <!-- BEGIN CONTENT -->
  <div class="page-content-wrapper">
    <!-- BEGIN CONTENT BODY -->
    <!-- BEGIN PAGE HEAD-->
    <div class="page-head">
      <div class="container-fluid">
        <!-- BEGIN PAGE TITLE -->
        <div class="page-title">
          <h1>Stock inicial</h1>
        </div>
        <!-- END PAGE TITLE -->
      </div>
    </div>
    <!-- END PAGE HEAD-->
    <!-- BEGIN PAGE CONTENT BODY -->
    <div class="page-content">
      <div class="container-fluid">
        <%= link_to  root_path, {:class=>"btn blue-hoki pull-right margin-bottom-10"} do %>  <i class="fa fa-angle-left "></i> Regresar
        <% end %>
        <!-- END PAGE BREADCRUMBS -->
        <!-- BEGIN PAGE CONTENT INNER -->
        <div class="page-content-inner">
          <div id="notice"><%= notice %></div>
          <div class="row">
            <div class="col-md-12">
              <div class="portlet light">  
                <div class="portlet-body form">
                  <div id="error_explanation"></div> 

                  <!-- lista de productos -->
                  <h4 class="form-section"> Lista de productos</h4>
                  <div class="portlet-body">
                    <div class="row"> 
                      <!-- stock minimo para los seleccionados -->
                        <div class="col-md-8">
                          <div class="form-group">
                            <label class="col-md-1"> Stock inicial </label>          
                            <div class="col-md-2">
                              <input class="form-control" type="number" min="0" id="initial_stock_input">
                            </div>
                            <div class="col-md-2">
                              <button type="button" class="btn btn-success" onclick="initialStock()"><i class="fa fa-save"></i>&nbsp&nbspGuardar cambios</button>                 
                            </div>
                          </div> 
                        </div>
                    </div>
                    <h4 class="form-section" style="margin-top: 5px; margin-bottom: 20px"></h4>   
                  </div>
                </div>
                <%= render 'form' %>
              </div>
            </div>
          </div>
        </div>
        <!-- END PAGE CONTENT INNER -->
      </div>
    </div>
    <!-- END PAGE CONTENT BODY -->
    <!-- END CONTENT BODY -->
  </div>
  <!-- END CONTENT -->
</div>
<!-- END CONTAINER -->


