File: //var/www/hobbyistgarage/storage/framework/views/5b8ffda53fceff25192d430d493db566c6989c44.php
<?php $__env->startSection('content'); ?>
<section id="page-content" class="page-wrapper">
<div class="zm-section bg-white pt-10 pb-40">
<div class="container">
<div class="row mb-40">
<div class="col-md-12 col-sm-12 col-lg-12 col-xs-12">
<div class="section-title">
<h2 class="h6 header-color inline-block uppercase">Categories</h2>
</div>
<div class="section-title pull-right">
<a href="<?php echo e(url('/admin/category/create')); ?>" class="h6 header-color inline-block uppercase">New Category</a>
</div>
</div>
</div>
<div class="row">
<!-- Start left side -->
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 columns">
<!-- ============================================================== -->
<!-- Content Start -->
<!-- ============================================================== -->
<h4 id="section2" class="mg-b-10">List of Categories</h4>
<p class="mg-b-30">Categories Information.</p>
<div class="row">
<div class="col-md-12">
<table id="articles" class="table">
<thead>
<tr>
<th scope="col">Category</th>
<th scope="col">Description</th>
<th scope="col">Articles</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody>
<?php if(isset($admincategories)): ?>
<?php $__currentLoopData = $admincategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>_
<tr>
<td><?php echo e($category->name); ?></td>
<td><?php echo e($category->short_url); ?></td>
<td><?php echo e($category->rank); ?></td>
<td>
<form method="post" action="<?php echo e(url('/admin/category/'.$category->id.'/delete')); ?>" class="form-horizontal">
<?php echo csrf_field(); ?>
<button type="submit" class="btn btn-danger btn-rounded" id="danger-alert">Delete</button>
<a href="<?php echo e(url('/admin/category/'.$category->id.'/edit')); ?>" class="btn btn-warning btn-rounded">Edit</a>
<input type="hidden" name="delete" value="true">
<input type="hidden" name="category" value="<?php echo e($category->id); ?>">
</form>
</td>
</tr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
</div></div></div></div>
</section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('znews.layout.blog', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/hobbyistgarage/resources/views/admin/category/index.blade.php ENDPATH**/ ?>