Eshop-Laravel/storage/framework/views/78c67f7c6ae1b09ed4f29323a5c5d47c64c176d2.php

42 lines
1.3 KiB
PHP
Raw Normal View History

2019-10-18 09:25:37 +00:00
<?php $__env->startSection('main_content'); ?>
<h2>Edit Site Content</h2>
<div class="row">
<div class="col-md-12">
<p>
<a class="btn btn-primary" href="<?php echo e(url('cms/content/create')); ?>">+Add New Content</a>
</p>
</div>
</div>
<br><br>
<div class="row">
<div class="col-md-8">
<table class="table table-bordered">
<thead>
<tr>
<th>Title</th>
<th>Updated_at</th>
<th>Oparation</th>
</tr>
</thead>
<tbody>
<?php $__currentLoopData = $content; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<tr>
<td><?php echo e($item['title']); ?></td>
<td><?php echo e($item['updated_at']); ?></td>
<td>
<a href="<?php echo e(url('cms/content/'.$item['id'] . '/' . 'edit')); ?>">Edit </a>|
<a href="<?php echo e(url('cms/content' .'/' . $item['id'])); ?>">Delete</a>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</tbody>
</table>
</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('cms.cms-master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>