<?php
helper('html');
?>

<?= $this->extend('plantilla/view_plantilla') ?>

<?= $this->section('js') ?>
    <?php
        echo script_tag('js/modulos/bolsatrabajo/empresa_tamanio.js');
    ?>
<?= $this->endSection() ?>

<?= $this->section('content') ?>

<div class="row">
    <div class="col-xl-12">
        <div class="card">
            <div class="card-body">

                <div class="row align-items-center">
                    <div class="col-md-6">

                    </div>

                    <div class="col-md-6">
                        <div class="d-flex flex-wrap align-items-center justify-content-end gap-2 mb-3">
                            <div>
                                <a href="#" class="btn btn-success btnAgregar"><i class="bx bx-plus me-1"></i> Agregar Tamaño</a>
                            </div>
                        </div>

                    </div>
                </div>

                <div class="row">
                    <div class="col-lg-12">
                        <div class="">
                            <div class="table-responsive divTbl">

                                <table class="table table-nowrap align-middle table-hover">

                                </table>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>



<div class="modal fade" id="mdlDatos" tabindex="-1" aria-labelledby="exampleModalScrollableTitle" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-dialog-scrollable">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="mdlDatosTitle">Empresa Tamaño</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">
                <form action="<?= route_to('empresa_tamanio.guardar') ?>" method="post" class="frmDatos">
                    <div class="form-floating mb-3">
                        <input type="text" class="form-control" id="emta_descripcion" name="emta_descripcion" placeholder="Descripcion">
                        <label for="emta_descripcion">Descripcion</label>
                    </div>
                    <input type="hidden" id="emta_id" name="emta_id">
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-light" data-bs-dismiss="modal"><i class="bx bx-x"></i> Cerrar</button>
                <button type="button" class="btn btn-success btnGuardar"><i class="bx bx-save"></i> Guardar</button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div>

<?= $this->endSection() ?>
