<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>Temario</h3>
        </div>
    </div>

    <div class="clearfix"></div>

    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_title">
                    <h2>Listado de Temarios</h2>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <?php echo $__env->make('temario.filtro', ['tem' => $tem, 'data' => $data], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    <br>
                    <div class="">
                        <?php if(count($tem) > 0): ?>
                            <table id="tabla" class="table table-striped jambo_table bulk_action">
                                <thead>
                                    <tr class="headings">
                                        <td class="column-title text-center">No.</td>
                                        <td class="column-title text-center">Materia </td>
                                        <td class="column-title text-center">Clave </td>
                                        <td class="column-title text-center no-link last"><span
                                                class="nobr">Acción</span>
                                        </td>

                                    </tr>
                                </thead>

                                <tbody>
                                    <?php $__currentLoopData = $tem; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $t): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <tr class="even pointer">
                                            <td class="text-md-center" data-label="No."><?php echo e($loop->iteration); ?></td>
                                            <td class="text-md-center" data-label="Materia: ">
                                                <?php echo e($t->materia->nom_mat); ?>

                                            </td>
                                            <td class="text-md-center" data-label="Clave: ">
                                                <?php echo e($t->materia->clave_mat); ?>

                                            </td>
                                            <td class="text-md-center text-sm-center py-1" data-label="Acción: ">
                                                <div class="btn-group btn-group-sm">
                                                    <button type="button" class="btn btn-outline-primary btn-xs"
                                                        onclick="consultar_temario(<?php echo e($t->cve_tem); ?>)"><i
                                                            class="fa fa-eye"></i></button>
                                                    <button type="button" class="btn btn-outline-success btn-xs"
                                                        onclick="edit_temario(<?php echo e($t->cve_tem); ?>)"><i
                                                            class="fa fa-pencil"></i></button>
                                                    <button type="button" class="btn btn-outline-danger btn-xs"
                                                        onclick="delete_temario(<?php echo e($t->cve_tem); ?>)"><i
                                                            class="fa fa-trash"></i></button>
                                                </div>
                                            </td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>
                        <?php else: ?>
                            <div class="text-center">
                                <label class="" for="">No se encontraron resultados</label>
                            </div>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH C:\xampp\htdocs\laravel_curso\laravel_7_curso\resources\views/temario/listar.blade.php ENDPATH**/ ?>