<div class="centering" style="width:;margin-top: 1%;">
        <div id='edit_data_umum' style="background:none;padding:10px; border:1px solid #fff">
                <div style="background:white;padding:5px">
                <div class="detil" style="font-size:14px;margin-top:25px;width: 100%;margin: 0 auto;border-color: #5fb85c;">
                        <form id="frm_diversi_lanjut" style="background:white;margin:0;" method="post" action="<?php echo base_url().'tab_diversi_c/validate_edit_lanjut_diversi';?>">
                        	<table id='infoPerkara' style="font-size:14px;" border="1">
                        		<col width="25%">
                                <col width="75%">
                                    <tbody>
                                        <tr>
                                            <td colspan="2"><h2 style="text-align:center"><?php echo $namahalaman;?></h2></td>
                                        </tr>
                                        <tr>
                                            <td id="first-child">Kesepakatan Para Pihak Melaksanakan Diversi<span style="color:red">*</span></td>
                                        	<td>
                                                <span class="custom-dropdown custom-dropdown--emerald">
                                                    <?php 
                                                    echo form_dropdown('kesepakatan_melaksanakan_diversi',$select_keputusan_lanjut_diversi, $detail_diversi->kesepakatan_melaksanakan_diversi, 'style="width:300px;height:28px;" class="custom-dropdown__select custom-dropdown__select--white" id="kesepakatan_melaksanakan_diversi"'); 
                                                    ?>
                                                </span>
                                        	</td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" align="center" background="#fff">
                                                <input type="button" id='close_form_diversi' value="Kembali" class="btn">
												<?php
												if($detail_diversi->kesepakatan_melaksanakan_diversi!=0){
												?>
												<input type="button" id="hapus" value="Hapus" style="text-decoration:none" class="btn btn-danger">
												<?php }?>
                                                <input id="simpan" class="btn" type="submit" value="Simpan">
                                            </td>
                                        </tr>
                                    </tbody>
                        	</table>
                            <input type="hidden" id="curr_date" value="<?php echo $current_date;?>">
                            <input type="hidden" id='enc' name='enc' value='<?php echo $enc;?>' >
							<input type="hidden" id='encdiversi' name='encdiversi' value='<?php echo $encdiversi;?>' >
							<input type="hidden" id='namahalaman' name='namahalaman' value="<?php echo $namahalaman;?>" >
							<input type="hidden" id='code' name='code' value='1' >
                        </form>
                </div>
                </div>
        </div>
</div>
<script type="text/javascript">
/*$('#close_form_diversi').closingFormWin();*/
$('#close_form_diversi').click(function(){
    window.open("<?php echo base_url('perkara_detil/'.$enc.'/3');?>","_self");    
});

$('#hapus').ButtonClickHandling({
    refresh:1,
    setRefresh:1,
    clicked:1,
    btnClicked:'#close_form_diversi',
    whenStatus:1,
    actions:'<?php echo base_url();?>tab_diversi_c/hapus_datapart_diversi',
    formName:'#frm_diversi_lanjut',
    actionName:'Hapus Data'
});

$('#frm_diversi_lanjut').SubmitHandling({
        refresh:'1',
        setRefresh:1,
        divRef:'#konten',
        clicked:1,
        btnClicked:'#close_form_diversi',
        whenStatus:1,
		next_step:1
});
    
</script>