

<?php $__env->startSection('page', $page); ?>
<?php $__env->startSection('title', getSetting('APPLICATION_NAME') . ' | ' . $page); ?>

<?php $__env->startSection('content'); ?>
    <div class="card">
        <div class="card-body">
            <?php echo $__env->make('include.message', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <div class="row">
            <div class="col-md-6"><a href="<?php echo e('pages/add'); ?>"><button class="btn btn-primary btn-sm ml-1" id="createLanguage"
                        title="<?php echo e(__('Create Language')); ?>"><?php echo e(__('Create')); ?></button></a>
            </div>
            <div class="col-md-12 search-section">
                <a class="search-penal collapsed" data-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
                    <?php echo e(__('Search')); ?>

                    <i class="fas fa-angle-right ml-auto"></i>
                </a>
            </div>

        </div>
        <?php echo $__env->make('admin.pages.search', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <table class="table table-bordered table-striped table-hover">
                <thead>
                    <tr>
                        <th><?php echo e(__('ID')); ?></th>
                        <th><?php echo e(__('Title')); ?></th>
                        <th><?php echo e(__('Slug')); ?></th>
                        <th><?php echo e(__('Show in footer')); ?></th>
                        <th><?php echo e(__('Action')); ?></th>
                    </tr>
                </thead>
                <tbody>
                    <?php $__currentLoopData = $pages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($value->id); ?></td>
                            <td><?php echo e($value->title); ?></td>
                            <td><?php echo e($value->slug); ?></td>
                            <td><?php echo e(ucfirst($value->footer)); ?></td>
                            <td>
                                <a href="/admin/pages/edit/<?php echo e($value->id); ?>">
                                    <button class="btn btn-primary btn-sm" title="<?php echo e(__('Edit')); ?>">
                                        <i class="fa fa-edit"></i>
                                    </button>
                                </a>
                                <button class="btn btn-danger btn-sm deletePage" data-id="<?php echo e($value->id); ?>"
                                    title="<?php echo e(__('Delete')); ?>">
                                    <i class="fa fa-trash"></i>
                                </button>
                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </tbody>
                <tfoot>
                    <tr>
                        <th><?php echo e(__('ID')); ?></th>
                        <th><?php echo e(__('Title')); ?></th>
                        <th><?php echo e(__('Slug')); ?></th>
                        <th><?php echo e(__('Show in footer')); ?></th>
                        <th><?php echo e(__('Action')); ?></th>
                    </tr>
                </tfoot>
            </table>
        </div>
        <div class="card-footer">
            <div class="float-right">
                <?php echo e($pages->links()); ?>

            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/originsuiteai/webinar.originsuiteai.com/resources/views/admin/pages/index.blade.php ENDPATH**/ ?>