<?php use_helper('UrlFunctions'); ?>
<?php use_helper( 'IncludePartial' ); ?>

<div class="shadow-sm p-3 mb-2 bg-white rounded card card-body">
    <div class="row">
        <div class="col mb-1">
            <h4 class="text-info text-nowrap mb-0"><?=$s_Titulo?></h4>
        </div>
    </div>
</div>


            <form id="form1" name="form1" method="POST" onsubmit="return false;"  enctype="multipart/form-data">
                <input type="hidden" name="s_TipoProc" id="s_TipoProc" value="<?=$s_TipoProc?>">
                <input type="hidden" name="TypeSub" id="TypeSub" value="0">
                
                  
                                      
                                                    <?php include_partial( 
                                                                            "addedit", 
                                                                            array( 
                                                                                    "o_MST_UbigeoBN" => $o_MST_UbigeoBN,
                                                                                    "a_MST_UbigeoFNDepartamentos"         => $a_MST_UbigeoFNDepartamentos,
                                                                                    "a_MST_UbigeoFNProvincias"         => $a_MST_UbigeoFNProvincias,
                                                                                    "TipoUbigeo"         => $TipoUbigeo,
                                                                                    "IdDpto"         => $IdDpto,
                                                                                    "IdProv"         => $IdProv
                                                                                 )
                                                                         ); ?>
                    <div class="form-row mx-0">
                        <div class="col-md-6 mb-1">
                            <button type="button" class="btn btn-primary btn-lg btn-block" onclick="location.href='<?php echo buildUrl( 'ubigeo/list', 'block=001' ) ?>'">CANCELAR</button>
                        </div>
                        <div class="col-md-6 mb-1">
                            <button type="submit" class="btn btn-primary btn-lg btn-block" onclick="$( '#TypeSub' ).val( '1' );">GRABAR Y SALIR</button>
                        </div>
                	</div>
                    <div id="s_ImagenLoad" style="display: none;"><img src="<?php echo Constantes::ROOT_DIR_APP ?>web/images/progress.gif" border="0"/>&nbsp;<label class="laber req">Grabando...</label></div>             
                               
                                      
            </form>
       

