
<!-- ADD ACTIVITY MODAL -->
<form id="attachmentForm" action="<?php echo base_url(); ?>apply/save" method="POST" role="form">
<input type="hidden" name="ID" value="<?php echo (isset($result->ID) && $result->ID) ? $result->ID : 0; ?>" />
<input type="hidden" name="category" value="ACTIVITY" />
<input type="hidden" name="from" value="#tab_2_1" />
<div class="modal-header">
	<a href="javascript:void(0);" class="close" data-dismiss="modal">&times;</a>
	<h3 class="modal-title">Tambah / Ubahsuai Aktiviti</h3>
</div>

<div class="modal-body">
	<div class="row">
		<div class="col-md-12">
		
			<div class="form-group">
				<label for="description" class="col-sm-4 control-label">Keterangan</label>
				<div class="col-sm-8">
					<textarea
							id="description"
							name="description"
							class="form-control"
							cols="100"
							rows="3"
							style="resize:none;"><?php echo (isset($result->description) && $result->description) ? $result->description : NULL; ?></textarea>
				</div>
				<div>&nbsp;</div>
			</div>
		
			<div class="form-group">
				<label for="year" class="col-sm-4 control-label">Tempoh (tahun)</label>
				<div class="col-sm-8">
					<input
						type="text"
						id="year"
						name="year"
						class="form-control"
						value="<?php echo (isset($result->year) && $result->year) ? $result->year : NULL; ?>" />
				</div>
				<div>&nbsp;</div>
			</div>
			
		</div>
	</div>
</div>

<div class="modal-footer">
	<div class="box-sm pull-right">
		<button type="button" class="btn btn-danger btn-sm" data-dismiss="modal"><i class="fa fa-times"></i> Tutup</button>
		<button type="submit" class="btn bg-olive 	btn-sm"><i class="fa fa-check"></i> Simpan</button>
	</div>
</div>
</form>
