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

<div class='btn-group'>
  
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('role_edit')): ?>
    <a data-action="<?php echo e(route('roles.edit', $id)); ?>" data-title="Edit Role" data-size="lg" class='btn btn-default btn-sm show-modal' href="javascript:void(0);">
        <i class="fa fa-edit"></i>
    </a>
    <?php endif; ?>
   
</div>
<?php echo Form::close(); ?>

<?php /**PATH D:\projects\thamu\sungabha_cinema\resources\views/roles/datatables_actions.blade.php ENDPATH**/ ?>