@foreach($posts as $post)
Name: {{ $post->name }}
<form method="POST" action="{{ route('admin.post.delete', ['post' => $post->_id]) }}">
@csrf
<button type="submit">Удалить</button>
</form>
@endforeach
<form method="POST" if="myform">@csrf</form>
@foreach($posts as $post)
<button type="submit"
form="myform"
fromaction="{{ route('admin.post.delete', ['post' => $post->_id]) }}"
>Удалить</button>
@endforeach