<div class="table-responsive">
    <table class="table" id="users-table">
        <thead>
            <tr>
                <th>Id</th>
        <th>Name</th>
        <th>Email</th>
        <th>Role</th>
                <th colspan="3">Action</th>
            </tr>
        </thead>
        <tbody>
        <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $users): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td><?php echo e($users->id); ?></td>
            <td><?php echo e($users->name); ?></td>
            <td><?php echo e($users->email); ?></td>
            <td><?php echo e($users->role->name); ?></td>
                <td>
                    <?php echo Form::open(['route' => ['users.destroy', $users->id], 'method' => 'delete']); ?>

                    <div class='btn-group'>
                        
                        <a href="<?php echo e(route('users.edit', [$users->id])); ?>" class='btn btn-warning pr-2'><i
                                class="fa fa-edit"></i></a>
                        <?php echo Form::button('<i class="fa fa-trash-o"></i>', ['type' => 'submit', 'class' => 'btn btn-danger', 'onclick' => "return confirm('Are you sure?')"]); ?>

                    </div>
                    <?php echo Form::close(); ?>

                </td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
    </table>
</div>
<?php /**PATH /home/ncengau/public_html/resources/views/users/table.blade.php ENDPATH**/ ?>