Current File : /home/itiffy/public_html/storage/framework/views/47a06c305fcce5afdbb4e56d81f59c189ed330ec.php |
<?php $__env->startSection('content'); ?>
<p><?php echo link_to_route('users.create', trans('quickadmin::admin.users-index-add_new'), [], ['class' => 'btn btn-success']); ?></p>
<?php if($users->count() > 0): ?>
<div class="portlet box green">
<div class="portlet-title">
<div class="caption"><?php echo e(trans('quickadmin::admin.users-index-users_list')); ?></div>
</div>
<div class="portlet-body">
<table id="datatable" class="table table-striped table-hover table-responsive datatable">
<thead>
<tr>
<th><?php echo e(trans('quickadmin::admin.users-index-name')); ?></th>
<th> </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 link_to_route('users.edit', trans('quickadmin::admin.users-index-edit'), [$user->id], ['class' => 'btn btn-xs btn-info']); ?>
<?php echo Form::open(['style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => 'return confirm(\'' . trans('quickadmin::admin.users-index-are_you_sure') . '\');', 'route' => array('users.destroy', $user->id)]); ?>
<?php echo Form::submit(trans('quickadmin::admin.users-index-delete'), array('class' => 'btn btn-xs btn-danger')); ?>
<?php echo Form::close(); ?>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
<?php else: ?>
<?php echo e(trans('quickadmin::admin.users-index-no_entries_found')); ?>
<?php endif; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>