<div class="form-group">
    <label for="Descripcion" class="col-form-label">Descripci&oacute;n:</label>
    <input type="text" class="form-control form-control-sm" id="Descripcion" placeholder="" name="Descripcion" value="<?=$o_ObjectBN->getDescripcion()?>" onblur="this.value=this.value.toUpperCase();" required>
    <!--<div class="valid-feedback">Valido.</div>
    <div class="invalid-feedback">Por favor ingrese valor.</div>-->
</div>
<div class="form-row mx-0">
    <div class="col-md-4 mb-1">
        <label class="col-form-label" for="Estado">Estado</label>
        <select class="form-control form-control-sm custom-select my-0 mr-sm-2" id="Estado" name="Estado" required>
            <option value=""> - Seleccione - </option>
            <option value="A" <?php if( $o_ObjectBN->getEstado() == "A" ){ echo "selected"; } ?> > ACTIVO </option>
            <option value="I" <?php if( $o_ObjectBN->getEstado() == "I" ){ echo "selected"; } ?> > INACTIVO </option>
        </select>
    </div>
</div>

<div class="dropdown-divider" style="border-top: 1px solid #8c8b8b;"></div>

<?php if( $o_ObjectBN->getIdTiempoCab() ){ ?>
<button type="button" class="btn btn-secondary btn-lg mb-2 mt-2" id="btnAudi">Auditoria</button>
<?=crearFuentePopupIframe( array( "div_id"=>"dialog", "iframe_id"=>"myIframe", "popup_title"=>"AUDITORIA", "modal"=>true ) )?>
<script>
$( "#btnAudi" )
.click
(
    function()
    {
        $( '#myIframe' ).attr( 'src', '<?=buildUrl( 'tiempos/audi', 'i_Id='.$o_ObjectBN->getIdTiempoCab() )?>' );
        $( '#dialog' ).dialog( 'open' );
    }
)
</script>            
<?php } ?>

<div class="form-group col-14"><hr style="border-top: 1px solid #8c8b8b;"></div>