
<div class="card">
    <div class="card-body">
        <a class="btn btn-success" href="<?php echo e(route('formBuilder')); ?>" wire:navigate><i class="fa-solid fa-circle-plus"></i> <?php echo e(__('Create')); ?></a>
        <table class="table">
            <thead>
                <th>#</th>
                <th><?php echo e(__('Name')); ?></th>
                <th><?php echo e(__('Created')); ?></th>
                <th><?php echo e(__('Action')); ?></th>
            </thead>
            <tbody>
                <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $forms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ke=>$form): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td><?php echo e($form->id); ?></td>
                        <td><?php echo e($form->name); ?></td>
                        <td><?php echo e($form->created_at->toDateString()); ?></td>
                        <td>
                            <a href="<?php echo e(route('formBuilder', $form->id)); ?>" class="btn btn-primary btn-sm"  wire:navigate><?php echo e(__('Edit')); ?></a>
                            <a href="<?php echo e(route('openForm', ['id' => $form->id, 'from' => 'form-builder'])); ?>" class="btn btn-primary btn-sm" wire:navigate><?php echo e(__('Open')); ?></a>
                            <button type="submit" class="btn btn-danger btn-sm" wire:click="delete(<?php echo e($form->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 >
            <?php echo e($forms->links()); ?>

        </div>
    </div>
</div>
<?php /**PATH /home3/newhospv/project1.neways3.com/resources/views/livewire/form-builder/index.blade.php ENDPATH**/ ?>