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