File: /home/mmickelson/spilicensing/storage/framework/views/a76db5b837073f79355394d54ff882e6bfde2d84.php
<?php $__env->startSection('content'); ?>
<h1>Product <a href="<?php echo e(url('product/create')); ?>" class="btn btn-primary pull-right btn-sm">Add New Product</a></h1>
<div class="table">
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>ID</th><th>Product Name</th><th>Actions</th>
</tr>
</thead>
<tbody>
<?php /* */$x=0;/* */ ?>
<?php foreach($product as $item): ?>
<?php /* */$x++;/* */ ?>
<tr>
<td><?php echo e($item->id); ?></td>
<td><a href="<?php echo e(url('product', $item->id)); ?>"><?php echo e($item->productName); ?></a></td>
<td>
<a href="<?php echo e(url('product/' . $item->id . '/edit')); ?>">
<button type="submit" class="btn btn-primary btn-xs">Update</button>
</a> /
<?php echo Form::open([
'method'=>'DELETE',
'url' => ['product', $item->id],
'style' => 'display:inline'
]); ?>
<?php echo Form::submit('Delete', ['class' => 'btn btn-danger btn-xs']); ?>
<?php echo Form::close(); ?>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<div class="pagination"> <?php echo $product->render(); ?> </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>