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

                    <div class='btn-group'>
                       
                        <a href="<?php echo e(route('roles.edit', [$roles->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(); ?>

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