<?php $__env->startSection('content'); ?>
    <section class="container user-container">
        <strong>Lista de usuarios</strong>
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>Nombre</th>
                <th>correo</th>
                <th>rol</th>
                <th>clave</th>
                <th>Accion</th>
            </tr>
            </thead>
            <tbody>
                 <?php $__currentLoopData = $users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td><?php echo e($user->name); ?></td>
                        <td><?php echo e($user->email); ?></td>
                        <td><?php echo e($user->role); ?></td>
                        <td><?php echo e($user->password); ?></td>
                        <td>     
                            <a role="button" class="btn btn-danger" href="eliminar-user/<?php echo e($user->id); ?>">Eliminar</a>    
                        </td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
			</tbody>
		</table>
			<?php echo e($users->links()); ?>

    </section>
	<script  src="<?php echo e(asset('js/admin.js')); ?>"> </script>  
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/users.css')); ?>">

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>