<?php echo Form::open(['route' => ['admin.leads.destroy', $id], 'method' => 'delete']); ?>

<div class='btn-group'>
    <?php if (\Entrust::ability('super-admin' ,'leads.show')) : ?>
    <a href="<?php echo e(route('admin.leads.show', $id)); ?>" class='btn btn-default btn-xs'>
        <i class="glyphicon glyphicon-eye-open"></i>
    </a>
    <?php endif; // Entrust::ability ?>
    <?php if (\Entrust::ability('super-admin' ,'leads.edit')) : ?>
    <a href="<?php echo e(route('admin.leads.edit', $id)); ?>" class='btn btn-default btn-xs'>
        <i class="glyphicon glyphicon-edit"></i>
    </a>
    <?php endif; // Entrust::ability ?>
    <?php if (\Entrust::ability('super-admin' ,'leads.destroy')) : ?>
    <?php echo Form::button('<i class="glyphicon glyphicon-trash"></i>', [
        'type' => 'submit',
        'class' => 'btn btn-danger btn-xs',
        'onclick' => "confirmDelete($(this).parents('form')[0]); return false;"
    ]); ?>

    <?php endif; // Entrust::ability ?>
</div>
<?php echo Form::close(); ?>

<?php /**PATH C:\laragon\www\student-area\resources\views/admin/leads/datatables_actions.blade.php ENDPATH**/ ?>