<?php
	include("area_size_func.php");
	$hddnAreaSizeId = $_SESSION['caller']['args'][1];
	if ($_SESSION['user']['access_level'] < SABLE_ACCESS_MANAGER)
	{
		SableGeneralFunctions::divertFromPage();
	}

?>
<script src="<?php SableGeneralFunctions::printModuleJS('area_size'); ?>"></script>

<!--// Area Size -->
<form id="frmAreaSize" name="frmAreaSize" autocomplete="on">
	<div class="forms">
		<div class="container forms-grids">
			<div class="row forms-grid">
				<div class="col-md-12">
					<h3 class="title"><i class="fa fa-plus" aria-hidden="true"></i>&nbsp;Add Area Size</h3>
					<p></p>
				</div>
			</div>
		
			<p></p>
			<!--// edtAreaSizeName -->
			<div class="row forms-grid">
				<div class="col-md-4 forms-grid">
					<input name="edtAreaSizeName" type="text" id="edtAreaSizeName" onfocus="showHint('edtAreaSizeName'); validate_edtAreaSizeName();" onblur="hideHint('edtAreaSizeName');" placeholder="Area Size Description" onkeypress="handleEnter(this, event);" >	
				</div>
				<div class="col-md-8">
					<div class="fieldHint" id="hint_edtAreaSizeName">Area Size Description</div>
				</div>
			</div>
			<p></p>
			<!-- edtAreaSizeName //-->
			<p></p>
		<!--// buttons -->
			<div class="row forms-grid">
				<div class="col-md-2">
					<input type="button" id="btnCancel" value="Cancel"
					class="submit" onclick="window.location = '<?php SableSystem::printCallPageLink('/area_size/'); ?>'"/>
				</div>
				<div class="col-md-2 forms-grid">
					<input id="btnOk" type="button" onclick="insertAreaSize();" value="Add Area Size" class="submit"/>
				</div>
			</div>
		<!-- buttons //-->
		</div>
	</div>
</form>
<!-- Area Size //-->
