HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/owlcrm/storage/framework/views/f410961d750fec7712cceae428bddbd4.php
<!-- Button trigger modal -->
<a href="<?php echo e(route('role.show', $row->id)); ?>" class="btn btn-sm btn-dark" title="show"><i class="fa fa-eye"></i></a>

<a href="<?php echo e(route('role.edit', ['role' => $row->id])); ?>" class="btn btn-sm btn-dark" title="Edit"><i
        class="fa fa-pencil-alt"></i></a>

<button type="button" class="btn btn-dark btn-sm" data-toggle="modal" data-target="#delete<?php echo e($row->id); ?>">
    <i class="fa fa-trash-alt"></i>
</button>

<!-- Modal -->
<div class="modal fade" id="delete<?php echo e($row->id); ?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
    aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel"><?php echo e($row->name); ?></h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <p>This will delete this role permanently</p>
                <p>Are you sure?</p>
            </div>
            <div class="modal-footer">
                <form method="POST" action="<?php echo e(route('role.destroy', $row->id)); ?>">
                    <!-- CSRF Token -->
                    <?php echo csrf_field(); ?>

                    <!-- Hidden input to simulate DELETE method -->
                    <input type="hidden" name="_method" value="DELETE">
                    <button type="submit" class="btn btn-danger" id="delete_btn" data-id="' . $row->id . '">Yes,
                        Delete</button>
                </form>
                <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /var/www/html/owlcrm/resources/views/users/roles/partially/delete.blade.php ENDPATH**/ ?>