<form action="<?php echo e($link); ?>" method="post" class="d-inline">
    <?php echo method_field('delete'); ?>
    <?php echo csrf_field(); ?>
    <button class="btn btn-icon btn-danger btn-sm"
        onclick="return  confirm('Anda yakin menghapus data ini? Y/N')"  data-toggle="tooltip" data-placement="top" title="Hapus Data!"><span
            class="pcoded-micon"> <i class="fas fa-trash"></i></span></button>
</form><?php /**PATH C:\Xampp 8.2\htdocs\sim\resources\views/components/button-delete.blade.php ENDPATH**/ ?>