@extends('crudbooster::admin_template')
@section('content')

<form class="form-horizontal" method="post" id="form" enctype="multipart/form-data" action="{{ CRUDBooster::mainpath('simpan-akun') }}">
    <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
	
	<div class="box-body" id="parent-form-area">

        <div style="display:none">
    
            <div class="form-group header-group-0 style="">
                <label class="control-label col-sm-2">
                    NIK
                            <span class="text-danger" title="Tidak boleh kosong">*</span>
                    </label>
        
            <div class="col-sm-8">
        
                <input type="text" title="NIK" required="true" maxlength="16" class="form-control" name="nik" id="nik" value="{{ $warga->nik }}">
        
                <div class="text-danger"></div>
                <p class="help-block"></p>
            </div>
            </div>
        </div>
        
        <div style="display:none">
    
            <div class="form-group header-group-0 style="">
                <label class="control-label col-sm-2">
                    Nama Tampilan
                            <span class="text-danger" title="Tidak boleh kosong">*</span>
                    </label>
            
        
            <div class="col-sm-8">
        
                <input type="text" title="Nama" required="true" class="form-control" name="name" id="name" value="{{ $warga->nama_lgkp }}">
        
                <div class="text-danger"></div>
                <p class="help-block"></p>
            </div>
            </div>
        </div>
        
        <div>
    
            <div class="form-group header-group-0 style="">
                <label class="control-label col-sm-2">
                    No Telp
                            <span class="text-danger" title="Tidak boleh kosong">*</span>
                    </label>
        
            <div class="col-sm-8">
        
                <input type="tel" title="No Telp" required="true" maxlength="70" class="form-control" name="no_telp" id="no_telp" value="{{ $warga->no_telp }}" >
        
                <div class="text-danger"></div>
                <p class="help-block"></p>
            </div>
            </div>
        </div>
        
        <div>
    
        <!--    <div class="form-group header-group-0 style="">-->
        <!--        <label class="control-label col-sm-2">-->
        <!--            Email-->
        <!--                    <span class="text-danger" title="Tidak boleh kosong">*</span>-->
        <!--            </label>-->
        
        <!--    <div class="col-sm-8">-->
        
        <!--        <input type="email" title="Email" required="true" class="form-control" name="email" id="email" value="{{ $warga->email }}" >-->
        
        <!--        <div class="text-danger"></div>-->
        <!--        <p class="help-block"></p>-->
        <!--    </div>-->
        <!--    </div>-->
        <!--</div>-->
        
        <div>
    
            <div class="form-group header-group-0 style="">
                <label class="control-label col-sm-2">
                    Password
                            <span class="text-danger" title="Tidak boleh kosong">*</span>
                    </label>
        
            <div class="col-sm-8">
        
                <input type="password" title="Password" required="true"  class="form-control" name="password" id="password"  >
        
                <div class="text-danger"></div>
                <p class="help-block"></p>
            </div>
            </div>
        </div>    		
    </div>
    	
    <div class="box-footer" style="background: #F5F5F5">						
    	<div class="form-group">
    		<label class="control-label col-sm-2"></label>
    		<div class="col-sm-10">
    			<a href="https://siapkk.banjarbarukota.go.id/admin/umkm_warga_bjb" class="btn btn-default"><i class="fa fa-chevron-circle-left"></i> Kembali</a>
    			<input type="submit" name="submit" value="Simpan" class="btn btn-success">																			
    		</div>
    	</div>
    </div>
    
</form>

@endsection