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