<?php
if (isset($conexion)) {
    ?>
<form class="form-horizontal"  method="post" name="remove_stock" id="remove_stock">
<!-- Modal -->
<div id="remove-stock" class="modal fade" role="dialog">
  <div class="modal-dialog">

    <!-- Modal content-->
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal">×</button>
        <h4 class="modal-title"><i class="fa fa-trash"></i> Eliminar Stock</h4>
      </div>
      <div class="modal-body">
<div id="resultados_ajax2"></div>

           <div class="row">
              <div class="col-md-6">
                <div class="form-group">
                  <label for="quantity_remove" class="control-label">Cantidad:</label>
                  <input type="text" class="form-control" id="quantity_remove" name="quantity_remove" autocomplete="off" pattern="^[0-9]{1,5}(\.[0-9]{0,2})?$" title="Ingresa sólo números con 0 ó 2 decimales" maxlength="8" required>
                </div>
              </div>
              <div class="col-md-6">
                <div class="form-group">
                  <label for="reference_remove" class="control-label">Referencia:</label>
                  <input type="text" class="form-control" id="reference_remove" name="reference_remove" autocomplete="off">
                </div>
              </div>
            </div>


      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default waves-effect waves-light" data-dismiss="modal">Cerrar</button>
    <button type="submit" class="btn btn-primary waves-effect waves-light" id="eliminar_datos">Guardar datos</button>
      </div>
    </div>

  </div>
</div>
</form>
<?php
}
?>
