<?php
  include('common/header.php');
?>
<div class="main-container clearfix">
			<div class="main-content">
				<div>
					<div class="col-sm-10 col-sm-offset-1">
						<div class="login-container">
							
							<div class="space-6"></div>

							<div class="position-relative">
								<div id="login-box" class="login-box visible widget-box no-border">
									<div class="widget-body">
										<div class="widget-main">
											<h4 class="header purple lighter bigger">Forgot Password</h4>
											<center><div></div></center>
											<div class="space-6"></div>
												<form action="<?php echo base_url();?>index.php/gc/products/update_quantity" onsubmit="return validateForm()" method="post" accept-charset="utf-8">
												<fieldset>
																										

													<label class="block clearfix">
														<span class="block input-icon input-icon-right">												
															<input type="text" class="form-control" id="update_quantity" onkeyup="Validate_number(this)" size="30" maxlength="80" value="" name="update_quantity" placeholder="Update Quantity">													
														</span>
														<span id="update_quantity1" class="text-danger font-weight-bold"></span>
													</label>

													

													<div class="space"></div>

													<div class="clearfix">
														
														<button class="pull-right btn btn-sm btn-warning" type="submit" name="submit">
														    Submit
														</button>
													</div>

													<div class="space-4"></div>
												</fieldset>
								
												</form>									
										</div>
										<!-- /widget-main -->
									
										
										
									</div><!-- /widget-body -->
								</div><!-- /login-box -->
							</div><!-- /position-relative -->
						</div>
					</div><!-- /.col -->
				</div><!-- /.row -->
			</div>
		</div>
<?php
  include('common/footer.php');
?>
<script type="text/javascript">
		
    function validateForm(){

		var update_quantity = document.getElementById('update_quantity').value;

			if(error==true)
  			 {
    			return false;
 			 }
 			else
  			 {
   				
     			var r = confirm("Are you sure you want to create Customer!");
      	        if (r==true) {return true;}else{return false;}
      	     }    
	}
	function Validate_number(txt) 
	{
	 txt.value = txt.value.replace(/[^0-9 \n\r]+/g, '');
	 txt.value= txt.value.replace(/\s+/g, " ");
	}

	</script>