diff --git a/app/Modules/Post/Views/index.blade.php b/app/Modules/Post/Views/index.blade.php index af564ec..f8cce2b 100644 --- a/app/Modules/Post/Views/index.blade.php +++ b/app/Modules/Post/Views/index.blade.php @@ -14,7 +14,7 @@
-
+
@@ -30,7 +30,7 @@
@can('create', \Modules\Post\Models\Post::class) -
+
@livewire('post.form', ['post' => new \Modules\Post\Models\Post()])
@endcan @@ -50,21 +50,8 @@
-
@livewire('posts.list', $filter)
- - -
@endsection \ No newline at end of file diff --git a/app/Modules/Post/Views/list/card.blade.php b/app/Modules/Post/Views/list/card.blade.php index d6e7281..6b5158d 100644 --- a/app/Modules/Post/Views/list/card.blade.php +++ b/app/Modules/Post/Views/list/card.blade.php @@ -19,12 +19,14 @@ background-size: cover; ">
@endif -

{{ $post->name }}

+
+

{{ $post->name }}

@can('update', $post) -
+
@livewire('post.form', ['post' => $post])
@endcan +

{!! $post->trixRender('content') !!}