diff --git a/resources/views/livewire/posts.blade.php b/resources/views/livewire/posts.blade.php index 72bac3f..7853c3b 100644 --- a/resources/views/livewire/posts.blade.php +++ b/resources/views/livewire/posts.blade.php @@ -1,35 +1,37 @@
- @foreach($posts as $post) -
-
-
{{ $post->created_at->format('h:m - d/ M/Y') }} -
-
-

- {!! Markdown::convertToHtml($post->body) !!} -

-
-
-
- @if(auth()->user()->id === $post->user_id) - Delete - - @endif +
+ @foreach($posts as $post) +
+
+
{{ $post->created_at->format('h:m - d/ M/Y') }}
-
- -

{{ $post->user->name }}

-
+
+

+ {!! Markdown::convertToHtml($post->body) !!} +

+
+
+
+ @if(auth()->user()->id === $post->user_id) + Delete + + @endif +
+
-
- @endforeach + @endforeach +