@extends('layouts.Layout')

@section('content')
<div class="navbar">
    <div class="navbar-inner">
        <div class="container">
            <button class="btn btn-default"><a href="#tab1" data-toggle="tab">Orang Tua</a></button>
            <button class="btn btn-default"><a href="#tab2" data-toggle="tab">Wali</a></button>
        </div>
    </div>
</div>
	<div class="tab-content">
		<div class="tab-pane" id="tab1">
	    <div class="card">
	        <div class="header">
		        <center><h4>Data OrangTua</h4></center>
		        <p class="category"></p>
		    </div>
	    	<div class="content">
	    	<form action="{{route('orangtua.store')}}" method="POST">
	    	{{ csrf_field() }}
            	<div class="row">
			    	<div class="col-lg-3">
		                <div class="form-group @if($errors->has('nama_ayah')) has-error @endif">
		                    <input type="text" class="form-control border-input" value="{{old('nama_ayah')}}" name="nama_ayah" placeholder="nama ayah">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('nama_ayah')}}</span>
		                </div>
		            </div>
		            <div class="col-lg-3">
	                	<div class="form-group @if($errors->has('tahun_lahir_ayah')) has-error @endif">
		                    <input type="date" class="form-control border-input" value="{{old('tahun_lahir_ayah')}}" name="tahun_lahir_ayah" placeholder="tahun lahir ayah">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('tahun_lahir_ayah')}}</span>
	                	</div>
	            	</div>
	            	<div class="col-lg-3">
		                <div class="form-group @if($errors->has('kebutuhan_khus_ayah')) has-error @endif">
		                	<select class="form-control border-input"  value="{{old('kebutuhan_khus_ayah')}}" name="kebutuhan_khus_ayah">
			                    <option class="0" disabled="true"  selected="true">Berkebutuhan khusus ?</option>
			                    <option>Tidak</option>
			                    <option>Netra(A)</option>
			                    <option>Rungu</option>
			                    <option>Grahita Ringan</option>
			                    <option>Grahita Sedang</option>
			                    <option>Daksa Ringan</option>
			                    <option>Daksa Sedang</option>
			                    <option>Laras</option>
			                    <option>Wicara</option>
			                    <option>Hiper Aktif</option>
			                    <option>Cerdas Istimewa</option>
			                    <option>Bakat Istimewa</option>
			                    <option>Kesulitan Belajar</option>
			                    <option>Narkoba</option>
			                    <option>Indigo</option>
			                    <option>Autis</option>
			                    <option>Down Sindrome</option>
			                    <option>Lainnya</option>
		                    </select>
		                    <span id="helpBlock2" class="help-block">{{$errors->first('kebutuhan_khus_ayah')}}</span>
		                </div>
		            </div>
		            <div class="col-sm-3">
		                <div class="form-group @if($errors->has('pendidikan_ayah')) has-error @endif">
		                <select class="form-control border-input"  value="{{old('pendidikan_ayah')}}" name="pendidikan_ayah">
		                	<option class="0" disabled="true"  selected="true">Pendidikan Terakhir Ayah</option>
		                	<option> TK </option>
		                	<option> SD </option>
		                	<option> SMP </option>
		                	<option> SMA </option>
		                	<option> Diploma </option>
		                	<option> Sarjana</option>
		                	<option> Lainnya</option>
		                </select>
		                    <span id="helpBlock2" class="help-block">{{$errors->first('pendidikan_ayah')}}</span>
		                </div>
		            </div>
		        </div>
            	<div class="row">
            		<div class="col-lg-3">
		                <div class="form-group @if($errors->has('pekerjaan_ayah')) has-error @endif">
		                <select class="form-control border-input"  value="{{old('pekerjaan_ayah')}}" name="pekerjaan_ayah">
		                	<option class="0" disabled="true"  selected="true">Pekerjaan Ayah</option>
		                	<option> Wiraswasta</option>
		                	<option> PNS</option>
		                	<option> Polisi</option>
		                	<option> Petani</option>
		                	<option> Nelayan</option>
		                	<option> Buruh</option>
		                	<option> Lainnya</option>
		                </select>
		                    <span id="helpBlock2" class="help-block">{{$errors->first('pekerjaan_ayah')}}</span>
		                </div>
		            </div>
		            
		            <div class="col-lg-3">
	                	<div class="form-group @if($errors->has('penghasilan_bulanan_ayah')) has-error @endif">
		                    <input type="text" class="form-control border-input" value="{{old('penghasilan_bulanan_ayah')}}" name="penghasilan_bulanan_ayah" placeholder="Penghasilan Ayah Per Bulan">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('penghasilan_bulanan_ayah')}}</span>
	                	</div>
	            	</div>
	            	<div class="col-lg-3">
		                <div class="form-group @if($errors->has('nik_ayah')) has-error @endif">
		                    <input type="text" class="form-control border-input" value="{{old('nik_ayah')}}" name="nik_ayah" placeholder="nik ayah">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('nik_ayah')}}</span>
		                </div>
		            </div>
            	</div>
            	<div class="row">
			    	<div class="col-lg-3">
		                <div class="form-group @if($errors->has('nama_ibu')) has-error @endif">
		                    <input type="text" class="form-control border-input" value="{{old('nama_ibu')}}" name="nama_ibu" placeholder="nama ibu">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('nama_ibu')}}</span>
		                </div>
		            </div>
		            <div class="col-lg-3">
	                	<div class="form-group @if($errors->has('tahun_lahir_ibu')) has-error @endif">
		                    <input type="date" class="form-control border-input" value="{{old('tahun_lahir_ibu')}}" name="tahun_lahir_ibu" placeholder="tahun lahir ibu">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('tahun_lahir_ibu')}}</span>
	                	</div>
	            	</div>
	            	<div class="col-lg-3">
		                <div class="form-group @if($errors->has('kebutuhan_khus_ibu')) has-error @endif">
		                	<select class="form-control border-input"  value="{{old('kebutuhan_khus_ibu')}}" name="kebutuhan_khus_ibu">
			                    <option class="0" disabled="true"  selected="true">Berkebutuhan khusus ?</option>
			                    <option>Tidak</option>
			                    <option>Netra(A)</option>
			                    <option>Rungu</option>
			                    <option>Grahita Ringan</option>
			                    <option>Grahita Sedang</option>
			                    <option>Daksa Ringan</option>
			                    <option>Daksa Sedang</option>
			                    <option>Laras</option>
			                    <option>Wicara</option>
			                    <option>Hiper Aktif</option>
			                    <option>Cerdas Istimewa</option>
			                    <option>Bakat Istimewa</option>
			                    <option>Kesulitan Belajar</option>
			                    <option>Narkoba</option>
			                    <option>Indigo</option>
			                    <option>Autis</option>
			                    <option>Down Sindrome</option>
			                    <option>Lainnya</option>
		                    </select>
		                    <span id="helpBlock2" class="help-block">{{$errors->first('kebutuhan_khus_ibu')}}</span>
		                </div>
		            </div>
		            <div class="col-sm-3">
		                <div class="form-group @if($errors->has('pendidikan_ibu')) has-error @endif">
		                <select class="form-control border-input"  value="{{old('pendidikan_ibu')}}" name="pendidikan_ibu">
		                	<option class="0" disabled="true"  selected="true">Pendidikan Terakhir ibu</option>
		                	<option> TK </option>
		                	<option> SD </option>
		                	<option> SMP </option>
		                	<option> SMA </option>
		                	<option> Diploma </option>
		                	<option> Sarjana</option>
		                	<option> Lainnya</option>
		                </select>
		                    <span id="helpBlock2" class="help-block">{{$errors->first('pendidikan_ibu')}}</span>
		                </div>
		            </div>
		        </div>
            	<div class="row">
            		<div class="col-lg-3">
		                <div class="form-group @if($errors->has('pekerjaan_ibu')) has-error @endif">
		                <select class="form-control border-input"  value="{{old('pekerjaan_ibu')}}" name="pekerjaan_ibu">
		                	<option class="0" disabled="true"  selected="true">Pekerjaan ibu</option>
		                	<option> Wiraswasta</option>
		                	<option> PNS</option>
		                	<option> Polisi</option>
		                	<option> Petani</option>
		                	<option> Nelayan</option>
		                	<option> Buruh</option>
		                	<option> Lainnya</option>
		                </select>
		                    <span id="helpBlock2" class="help-block">{{$errors->first('pekerjaan_ibu')}}</span>
		                </div>
		            </div>
		            
		            <div class="col-lg-3">
	                	<div class="form-group @if($errors->has('penghasilan_bulanan_ibu')) has-error @endif">
		                    <input type="text" class="form-control border-input" value="{{old('penghasilan_bulanan_ibu')}}" name="penghasilan_bulanan_ibu" placeholder="Penghasilan ibu Per Bulan">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('penghasilan_bulanan_ibu')}}</span>
	                	</div>
	            	</div>
	            	<div class="col-lg-3">
		                <div class="form-group @if($errors->has('nik_ibu')) has-error @endif">
		                    <input type="text" class="form-control border-input" value="{{old('nik_ibu')}}" name="nik_ibu" placeholder="nik ibu">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('nik_ibu')}}</span>
		                </div>
		            </div>
            	</div>
            	<div class="row">
			        <div class="col-md-12">
						<input value="Save" type="submit" class="btn btn-default">
		         	</div>
		        </div>
		        </form>
			</div>
			</div>
			</div>
			<div class="tab-pane" id="tab2">
				<div class="card">
		        <div class="header">
			      	<center><h4>Data Wali</h4></center>
			        <p class="category"></p>
			    </div>
		    	<div class="content">
		    	<form action="{{url('calonsiswa/orangtua/storewali')}}" method="POST">
	    		{{ csrf_field() }}
	            	<div class="row">
				    	<div class="col-lg-3">
			                <div class="form-group @if($errors->has('nama_wali')) has-error @endif">
			                    <input type="text" class="form-control border-input" value="{{old('nama_wali')}}" name="nama_wali" placeholder="nama wali">
			                    <span id="helpBlock2" class="help-block">{{$errors->first('nama_wali')}}</span>
			                </div>
			            </div>
			            <div class="col-lg-3">
		                	<div class="form-group @if($errors->has('tahun_lahir_wali')) has-error @endif">
			                    <input type="date" class="form-control border-input" value="{{old('tahun_lahir_wali')}}" name="tahun_lahir_wali" placeholder="tahun lahir wali">
			                    <span id="helpBlock2" class="help-block">{{$errors->first('tahun_lahir_wali')}}</span>
		                	</div>
		            	</div>
		            	<div class="col-lg-3">
			                <div class="form-group @if($errors->has('kebutuhan_khus_wali')) has-error @endif">
			                	<select class="form-control border-input"  value="{{old('kebutuhan_khus_wali')}}" name="kebutuhan_khus_wali">
				                    <option class="0" disabled="true"  selected="true">Berkebutuhan khusus ?</option>
				                    <option>Tidak</option>
				                    <option>Netra(A)</option>
				                    <option>Rungu</option>
				                    <option>Grahita Ringan</option>
				                    <option>Grahita Sedang</option>
				                    <option>Daksa Ringan</option>
				                    <option>Daksa Sedang</option>
				                    <option>Laras</option>
				                    <option>Wicara</option>
				                    <option>Hiper Aktif</option>
				                    <option>Cerdas Istimewa</option>
				                    <option>Bakat Istimewa</option>
				                    <option>Kesulitan Belajar</option>
				                    <option>Narkoba</option>
				                    <option>Indigo</option>
				                    <option>Autis</option>
				                    <option>Down Sindrome</option>
				                    <option>Lainnya</option>
			                    </select>
			                    <span id="helpBlock2" class="help-block">{{$errors->first('kebutuhan_khus_wali')}}</span>
			                </div>
			            </div>
			            <div class="col-sm-3">
			                <div class="form-group @if($errors->has('pendidikan_wali')) has-error @endif">
			                <select class="form-control border-input"  value="{{old('pendidikan_wali')}}" name="pendidikan_wali">
			                	<option class="0" disabled="true"  selected="true">Pendidikan Terakhir wali</option>
			                	<option> TK </option>
			                	<option> SD </option>
			                	<option> SMP </option>
			                	<option> SMA </option>
			                	<option> Diploma </option>
			                	<option> Sarjana</option>
			                	<option> Lainnya</option>
			                </select>
			                    <span id="helpBlock2" class="help-block">{{$errors->first('pendidikan_wali')}}</span>
			                </div>
			            </div>
			        </div>
	            	<div class="row">
	            		<div class="col-lg-3">
			                <div class="form-group @if($errors->has('pekerjaan_wali')) has-error @endif">
			                <select class="form-control border-input"  value="{{old('pekerjaan_wali')}}" name="pekerjaan_wali">
			                	<option class="0" disabled="true"  selected="true">Pekerjaan wali</option>
			                	<option> Wiraswasta</option>
			                	<option> PNS</option>
			                	<option> Polisi</option>
			                	<option> Petani</option>
			                	<option> Nelayan</option>
			                	<option> Buruh</option>
			                	<option> Lainnya</option>
			                </select>
			                    <span id="helpBlock2" class="help-block">{{$errors->first('pekerjaan_wali')}}</span>
			                </div>
			            </div>
		            
			            <div class="col-lg-3">
		                	<div class="form-group @if($errors->has('penghasilan_bulanan_wali')) has-error @endif">
			                    <input type="text" class="form-control border-input" value="{{old('penghasilan_bulanan_wali')}}" name="penghasilan_bulanan_wali" placeholder="Penghasilan wali Per Bulan">
			                    <span id="helpBlock2" class="help-block">{{$errors->first('penghasilan_bulanan_wali')}}</span>
		                	</div>
		            	</div>
		            	<div class="col-lg-3">
		                <div class="form-group @if($errors->has('nik_wali')) has-error @endif">
		                    <input type="text" class="form-control border-input" value="{{old('nik_wali')}}" name="nik_wali" placeholder="nik wali">
		                    <span id="helpBlock2" class="help-block">{{$errors->first('nik_wali')}}</span>
		                </div>
		            </div>
            		</div>
            		<div class="row">
			        	<div class="col-md-12">
							<input value="Save" type="submit" class="btn btn-default">
		         		</div>
		        	</div>
	    		</form>
			</div>		
		</div>
	</div>
</div>
@endsection