@if(in_array($id,$myReviews))
@can('productReviews.show')
@endcan
@can('productReviews.edit')
@endcan
@can('productReviews.destroy')
{!! Form::open(['route' => ['productReviews.destroy', $id], 'method' => 'delete']) !!}
{!! Form::button('', [
'type' => 'submit',
'class' => 'btn btn-link text-danger',
'onclick' => "return confirm('Are you sure?')"
]) !!}
{!! Form::close() !!}
@endcan
@endif