43 lines
1.3 KiB
PHP
43 lines
1.3 KiB
PHP
|
<?php $__env->startSection('main_content'); ?>
|
||
|
|
||
|
|
||
|
<h2>Edit Site Menus</h2>
|
||
|
<div class="row">
|
||
|
<div class="col-md-12">
|
||
|
<p>
|
||
|
<a class="btn btn-primary" href="<?php echo e(url('cms/menu/create')); ?>">+Add New Menu Link</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<br><br>
|
||
|
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-md-8">
|
||
|
<table class="table table-bordered">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Link</th>
|
||
|
<th>Updated_at</th>
|
||
|
<th>Created_at</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<?php $__currentLoopData = $menu; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
||
|
<tr>
|
||
|
<td><?php echo e($item['link']); ?></td>
|
||
|
<td><?php echo e($item['updated_at']); ?></td>
|
||
|
<td><?php echo e($item['created_at']); ?></td>
|
||
|
<td>
|
||
|
<a href="<?php echo e(url('cms/menu/'.$item['id'] . '/' . 'edit')); ?>">Edit </a>|
|
||
|
<a href="<?php echo e(url('cms/menu' .'/' . $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(); ?>
|