1try something like this :
2
3@canany(['update', 'view', 'delete'], $post)
4 <!-- The current user can update, view, or delete the post... -->
5@elsecanany(['create'], \App\Models\Post::class)
6 <!-- The current user can create a post... -->
7@endcanany