<?php $__env->startSection('contenta'); ?>
    <!-- Page Content -->
         <div class="block">
            <div class="block-header block-header-default">
                <h3 class="block-title"><?php echo e($permission->name); ?> permission</h3>
                <div class="block-options">
                    <a href="<?php echo e(route('permissions.index')); ?>" class="btn-block-option">&#8592; back to permissions</a>
                </div>
            </div>
            <div class="block-content">
                <div class="form-group row">
                    <div class="col-xs-12 col-sm-12 col-md-6">
                        <div class="form-material floating open">
                            <input id="name" type="text" readonly class="form-control-plaintext" value="<?php echo e($permission->name); ?>">
                            <label for="name"><?php echo e(__('Name')); ?></label>
                        </div>
                    </div>
                    <div class="col-xs-12 col-sm-12 col-md-6">
                        <div class="form-material floating open">
                            <input id="submenu" type="text" readonly class="form-control-plaintext" value="<?php echo e($permission->submenu? $permission->submenu->name:'no submenu'); ?>">
                            <label for="submenu"><?php echo e(__('Submenu')); ?></label>
                        </div>
                    </div>
                </div>
                <div class="form-group row">
                    <div class="col-xs-12 col-sm-12 col-md-12">
                        <div class="form-material floating open">
                            <div class="table-responsive push">
                                <table class="table table-bordered table-hover">
                                    <thead>
                                        <tr>
                                            <th class="text-center" style="width: 60px;"></th>
                                            <th>Permission</th>
                                            <th>Submenu</th>
                                        </tr>
                                    </thead>
                                    <tbody>

                                        <input type="hidden" value="<?php echo e($i=0); ?>" />
                                        <?php if($permission): ?>
                                            <tr>
                                                <td><?php echo e(++$i); ?></td>
                                                <td><?php echo e($permission->name); ?></td>
                                                <td><?php echo e($permission->submenu? $permission->submenu->name:'no submenu'); ?></td>
                                                <td><?php echo e($permission->description); ?></td>
                                            </tr>
                                        <?php else: ?>
                                        <tr>
                                            <td colspan="4">No permission added</td>
                                        </tr>
                                        <?php endif; ?>
                                    </tbody>
                                </table>
                            </div>
                            <label for=""><?php echo e(__('Permissions')); ?></label>
                        </div>
                    </div>
                </div>
                <div class="form-group row">
                    <div class="col-xs-12 col-sm-12 col-md-12">
                        <div class="form-material floating open">
                            <textarea id="description" readonly class="form-control-plaintext"><?php echo e($permission->description); ?></textarea>
                            <label for="description"><?php echo e(__('Description')); ?></label>
                        </div>
                    </div>
                </div>
                <a href="<?php echo e(route('permissions.index')); ?>" class="nav-link">&#8592; back to permissions</a>
            </div>
         </div>
    <?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.portalsettings', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ncaa/public_html/resources/views/portalsettings/permissions/show.blade.php ENDPATH**/ ?>