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