<?php $__env->startSection('content'); ?>
    <div class="col-md-12 content-header" >
        <h1><i class="fa fa-users"></i> <?php echo e(trans('application.permissions')); ?></h1>
    </div>
    <section class="content">
        <div class="row">
            <div class="col-md-3">
                <?php echo $__env->make('settings.partials._menu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            </div>
            <div class="col-md-9">
                <div class="box box-primary">
                    <div class="box-body">
                        <?php if(count($errors) > 0): ?>
                            <?php echo form_errors($errors); ?>

                        <?php endif; ?>
                        <table class="table table-striped table-bordered">
                            <thead>
                            <tr>
                                <th></th>
                                <th><?php echo e(trans('application.name')); ?></th>
                                <th><?php echo e(trans('application.description')); ?></th>
                                <th><?php echo e(trans('application.action')); ?></th>
                            </tr>
                            </thead>
                            <tbody>
                                <?php if($permissions->count() > 0): ?>
                                    <?php $__currentLoopData = $permissions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $count=>$permission): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); ?>
                                        <tr>
                                            <td><?php echo e($count+1); ?>.</td>
                                            <td><?php echo e($permission->name); ?></td>
                                            <td><?php echo e($permission->description); ?></td>
                                            <td><?php echo edit_btn('permissions.edit', $permission->uuid); ?></td>
                                        </tr>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); ?>
                                <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>