%PDF- %PDF-
Direktori : /var/www/html/conference/storage/framework/views/ |
Current File : /var/www/html/conference/storage/framework/views/1422e5d91ae6f76a9b007895367ebd87e11394ff.php |
<?php $__env->startSection('content'); ?> <div class="container"> <div class="row"> <div class="col-md-12 mb30"> <a href="<?php echo e(url('/admin/authors/new')); ?>" class="btn btn-success pull-right">Add New</a> </div> </div> <div class="row"> <div class="col-md-12"> <table class="table table-bordered table-striped"> <thead> <tr> <th>Name</th> <th>Job</th> <th>Action</th> </tr> </thead> <tbody> <?php $__currentLoopData = $authors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $author): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td> <?php echo e($author->name); ?> <?php echo e($author->surname); ?> </td> <td> <?php echo e($author->job); ?> </td> <td> <a href="<?php echo e(url('/admin/authors/'.$author->id)); ?>" class="btn btn-warning">Edit</a> <form action="<?php echo e(route('admin.authors.delete' , $author->id)); ?>" method="POST"> <?php echo e(csrf_field()); ?> <?php echo e(method_field('DELETE')); ?> <button type="submit" onclick="return confirm('Are you sure you want to delete <?php echo e($author->name); ?> <?php echo e($author->surname); ?>?')" class="btn btn-danger"> Delete </button> </form> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> <div class="pull-right"> <?php echo e($authors->links()); ?> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>