
<div id="position_modal" class="modal fade in">
	<div class="modal-dialog modal-dialog-60">
		<div class="modal-content">
			<form action="<?php echo base_url() ?>position/savePosition" enctype="multipart/form-data" method="POST" id="position_form">
				<input type="hidden" id="positionID" name="positionID" value="" />
				<div class="modal-header">
					<button type="button" class="modal-close" data-dismiss="modal" aria-label="Close"><span></span><span></span></button>
					<h3 class="modal-title"><b><?php echo $this->lang->line('title') ?></b></h3>
				</div>

				<div class="modal-body">
				
					<div class="form-group row">
						<label class="required col-xs-12"><?php echo $this->lang->line('designationName') ?></label>
						<div class="col-xs-12">
							<input type="text" placeholder="<?php echo $this->lang->line('designationName') ?>" id="positionName" name="positionName" class="form-control" required="required" value="" />
							<div class="helper">
								<ul>
									<li><?php echo $this->lang->line('req1') ?></li>
									<li>><?php echo $this->lang->line('req1Desc') ?></li>
								</ul>
							</div>
						</div>
					</div>
					
					<div class="row">
						<div class="col-md-6">						
							<div class="form-group row">
								<label class="required col-xs-12"><?php echo $this->lang->line('noOfCandidate') ?></label>
								<div class="col-xs-12">
									<input type="number" min="0" placeholder="<?php echo $this->lang->line('noOfCandidate') ?>"
													id="elected" name="elected" class="form-control" required="required" onkeypress="return isNumberKey(event)" value="" />
									<div class="helper">
										<ul>
											<li><?php echo $this->lang->line('req2') ?></li>
										</ul>
									</div>
								</div>
							</div>
						</div>
						
						<div class="col-md-6">								
							<div class="form-group row">
								<label class="required col-xs-12"><?php echo $this->lang->line('designationRank') ?></label>
								<div class="col-xs-12">
									<input type="number" min="0" placeholder="<?php echo $this->lang->line('designationRank') ?>"
													id="ordering" name="ordering" class="form-control" required="required"
													onchange="return checkOrdering(this);"
													onkeypress="return isNumberKey(event)" value="" />
									<div class="helper">
										<ul>
											<li id="orderingexists" class="hidden text-red"><?php echo $this->lang->line('orderNoUsed') ?></li>
											<li><?php echo $this->lang->line('req3') ?></li>
											<li><?php echo $this->lang->line('req3Desc1') ?></li>
											<li><?php echo $this->lang->line('req3Desc2') ?></li>
										</ul>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				
				<div class="modal-footer">
					<button type="button" class="btn btn-danger" data-dismiss="modal">
						<i class="fa fa-times"></i>&nbsp;<?php echo $this->lang->line('close') ?>
					</button>
					<button type="submit" id="savePosition" name="savePosition" class="btn btn-success">
						<i class="fa fa-check"></i>&nbsp;<?php echo $this->lang->line('save') ?>
					</button>
				</div>

			</form>
		</div>
	</div>
</div>
                

<!-- DELETE MODAL -->
<div id="delete_modal" class="modal fade in">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title"><?php echo $this->lang->line('delete') ?></h3>
			</div>
			
			<div class="modal-body">
				<input type="text" placeholder="" id="deleteID" name="deleteID" class="form-control" style="display:none">
				<?php echo $this->lang->line('confirmdelete') ?>
			</div>
			
			<div class="modal-footer">
				<button type="button" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-times"></i>&nbsp;<?php echo $this->lang->line('close') ?></button>
				<button type="button" id="deletePosition" name="deletePosition" class="btn btn-success" onclick="deletePosition()"><i class="fa fa-check"></i> <?php echo $this->lang->line('delete') ?></button>
			</div>
		</div>
	</div>
</div>

