{{ csrf_field() }}
{{-- Button --}} INDEX POSTS

{{ __('Artykuły') }}

@if (session()->has('message'))
Warning
{{ session()->get('message') }}
@endif
{{ csrf_field() }}
@foreach ($posts as $post) @endforeach
Data powstania Tytuł Treść Edytuj Usuń
{{ $post->created_at }} {{ $post->title }} {{ $post->content }} Edytuj
@csrf @method ('DELETE')
{{ $posts->links() }}