<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 Anggota Keluarga</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="">
						<a href="#kepegawaian" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile" aria-expanded="true" style="pointer-events:none !important; color:grey;">Kepegawaian</a>
					</li>
					<li role="presentation" class="active">
						<a href="#keluarga" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile" aria-expanded="true">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/keluargaAddExec" method="POST" enctype="multipart/form-data">
						  <input type="hidden" name="id_pegawai" value="<?php echo $id_pegawai;?>">
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Nama</p>
							</div>
							<div class="col-lg-6">
								<input class="form-control" type="text" name="nama" placeholder="contoh: Anisa Nurdila" required>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Hubungan</p>
							</div>
							<div class="col-lg-3">
								<input class="form-control" type="text" name="hubungan" placeholder="contoh: Istri" required>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Profesi</p>
							</div>
							<div class="col-lg-4">
							  <select class="form-control select2-no-search" name="profesi" required>
								<option label="Pilih Salah Satu" value=""></option>
								<?php
									foreach($profesi as $p)
									{
										?>
										<option value="<?php echo $p['id_pekerjaan_suami_istri'];?>"><?php echo $p['pekerjaan_suami_istri'];?></option>
										<?php
									}
								?>
							  </select>
							</div><!-- col-4 -->
						  </div><!-- row -->
						  <div class="row row-sm mg-b-20">
							<div class="col-lg-4">
							  <p class="mg-b-10">Tanggal Lahir</p>
							</div>
							<div class="col-lg-2">
								<input class="form-control" type="date" name="tanggal_lahir" required>
							</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-plus"></i> Tambah Anggota Keluarga
							  </button>
							  <a href="<?php echo base_url();?>Admin/personal/<?php echo $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>