<div id="page-wrapper">
	<div class="main-page">
		<div class="forms">
			<div class=" form-grids row form-grids-right">
				<div class="widget-shadow " data-example-id="basic-forms"> 
					<div class="form-title">
						<h4>Tambah Riwayat Gaji</h4>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12 grids-right widget-shadow">
				<br>
				<ul id="myTabs" class="nav nav-tabs" role="tablist">
					<li role="presentation" class="">
						<a href="#personal" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="false" style="pointer-events:none !important; color:grey;">Personal</a>
					</li>
					<li role="presentation" class="active">
						<a href="#kepegawaian" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile" aria-expanded="true">Kepegawaian</a>
					</li>
					<li role="presentation" class="">
						<a href="#keluarga" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile" aria-expanded="true" style="pointer-events:none !important; color:grey;">Keluarga</a>
					</li>
					<li role="presentation" class="">
						<a href="#pendidikan" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile" aria-expanded="true" style="pointer-events:none !important; color:grey;">Pendidikan</a>
					</li>
					<li role="presentation" class="">
						<a href="#kesehatan" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile" aria-expanded="true" style="pointer-events:none !important; color:grey;">Kesehatan</a>
					</li>
				</ul>
				<div id="myTabContent" class="tab-content">
					<div role="tabpanel" class="tab-pane fade active in" id="kepegawaian" aria-labelledby="home-tab">
						<br>
						<form action="<?php echo base_url();?>Admin/kesehatanEditExec/<?php echo $penyakit->id_penyakit;?>/<?php echo $penyakit->id_pegawai;?>" method="POST" enctype="multipart/form-data">
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Penyakit yang pernah / sedang diderita</p>
							</div>
							<div class="col-lg-6">
								<input class="form-control" type="text" name="penyakit" value="<?php echo $penyakit->penyakit;?>" required>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Tahun</p>
							</div>
							<div class="col-lg-2">
								<input class="form-control" type="text" name="tahun" value="<?php echo $penyakit->tahun;?>" required>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Tingkat Penyakit</p>
							</div>
							<div class="col-lg-2">
							  <select class="form-control select2-no-search" name="tingkat" required>
								<option label="Pilih Salah Satu"></option>
								<option value="Ringan" <?php echo ($penyakit->tingkat == "Ringan" ? "selected" : "");?>>Ringan</option>
								<option value="Sedang" <?php echo ($penyakit->tingkat == "Sedang" ? "selected" : "");?>>Sedang</option>
								<option value="Berat" <?php echo ($penyakit->tingkat == "Berat" ? "selected" : "");?>>Berat</option>
							  </select>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Apakah menular?</p>
							</div>
							<div class="col-lg-4">
								<label class="rdiobox">
									<input name="menular" type="radio" value="Ya" <?php echo ($penyakit->menular == "Ya" ? "checked" : "");?> required>
									<span>Ya</span>
								</label>
								<label class="rdiobox">
									<input name="menular" type="radio" value="Tidak" <?php echo ($penyakit->menular == "Tidak" ? "checked" : "");?> required>
									<span>Tidak</span>
								</label>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Apakah sudah sembuh?</p>
							</div>
							<div class="col-lg-4">
								<label class="rdiobox">
									<input name="sembuh" type="radio" value="Ya" <?php echo ($penyakit->sembuh == "Ya" ? "checked" : "");?> required>
									<span>Ya</span>
								</label>
								<label class="rdiobox">
									<input name="sembuh" type="radio" value="Belum" <?php echo ($penyakit->sembuh == "Belum" ? "checked" : "");?> required>
									<span>Belum</span>
								</label>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <br>
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-12">
							  <button type="submit" class="btn btn-primary pull-right" >
								<i class="fa fa-input-checked"></i> Simpan Riwayat Penyakit
							  </button>
							  <a href="<?php echo base_url();?>Admin/personal/<?php echo $penyakit->id_pegawai;?>" class="btn btn-danger">
								<i class="fa fa-times"></i> Batal
							  </a>
							</div><!-- col-4 -->
						  </div><!-- row -->
						</form>
					</div>
				</div>
			</div>
			<div class="clearfix"> </div>
		</div>
	</div>
</div>