<div>
    <div class="card">
        <div class="card-body">
            <a class="btn btn-success" href="<?php echo e(route('create-chart')); ?>" wire:navigate><?php echo e(__('Create')); ?></a>
            <table class="table">
                <thead>
                    <th><?php echo e(__('Name')); ?></th>
                    <th><?php echo e(__('Action')); ?></th>
                </thead>
                <tbody>
                    <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $charts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $chart): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($chart->title); ?></td>
                            <td>
                                <a href="<?php echo e(route('create-chart', $chart->id)); ?>" class="btn btn-primary"  wire:navigate><?php echo e(__('Edit')); ?></a>
                                <!-- <a href="#" class="btn btn-primary" wire:navigate><?php echo e(__('Open')); ?></a> -->
                                <button type="submit" class="btn btn-danger" wire:click="delete(<?php echo e($chart->id); ?>)" 
                                    wire:confirm.prompt='Deleting this table might delete all data from it?\n\nType "delete" to confirm|delete'>
                                    <?php echo e(__('Delete')); ?>

                                </button>
                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
                </tbody>
            </table>
        </div>
    </div>
</div>
<?php /**PATH C:\laragon\www\marketing_data_analysis\resources\views/livewire/chart-builder/index.blade.php ENDPATH**/ ?>