<script>
    function confirm_modal(delete_url) {
        jQuery('#confirm-delete').modal('show', {backdrop: 'static'});
        document.getElementById('delete_link').setAttribute('href', delete_url);
    }
</script>

<div class="modal fade admin-query" id="confirm-delete">
    <div class="modal-dialog modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title"><?php echo e(__('common.Delete Confirmation')); ?></h4>
                <button type="button" class="close" data-dismiss="modal">
                    <i class="ti-close "></i>
                </button>
            </div>
            <div class="modal-body">
                <h3 class="text-center"><?php echo e(__('common.Are you sure to delete ?')); ?></h3>

                <div class="col-lg-12 text-center">
                    <div class="mt-40 d-flex justify-content-between">
                        <button type="button" class="primary-btn tr-bg"
                                data-dismiss="modal"><?php echo e(__('common.Cancel')); ?></button>
                        <a id="delete_link" class="primary-btn semi_large2 fix-gr-bg"><?php echo e(__('common.Delete')); ?></a>

                        <a id="deletingButton" class="primary-btn semi_large2 fix-gr-bg d-none">
                            <?php echo e(__('common.Updating')); ?> ....
                            <span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
                            <span class="sr-only"></span>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /home/penastud/public_html/lmspena/resources/views/backend/partials/delete_modal.blade.php ENDPATH**/ ?>