From d40abee083daacd0e5142514219b5d75e425d4f4 Mon Sep 17 00:00:00 2001 From: developer Date: Fri, 8 May 2026 14:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6=D0=BD=D0=BE?= =?UTF-8?q?=D1=81=D1=82=D1=8C=20=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D1=82=D1=8C=20=D0=B8=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B7=D0=B4=D0=B0=D0=B2=D0=B0=D1=82=D1=8C=20=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Modules/Post/Views/index.blade.php | 17 ++--------------- app/Modules/Post/Views/list/card.blade.php | 6 ++++-- 2 files changed, 6 insertions(+), 17 deletions(-) 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') !!}