From 3188276fe54da652baaa2c2683f91a8561435b0a Mon Sep 17 00:00:00 2001 From: "OU.ZAIKOU" Date: Mon, 2 Feb 2026 23:34:56 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=A7=90=E8=BC=AA=E8=A6=8F=E5=AE=9A?= =?UTF-8?q?=E3=83=9E=E3=82=B9=E3=82=BF=E3=80=91=E7=A2=BA=E8=AA=8D=E3=83=A1?= =?UTF-8?q?=E3=83=83=E3=82=BB=E3=83=BC=E3=82=B8=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/ParkingRegulation.php | 30 +++++++++++++++++++ .../admin/parking_regulations/add.blade.php | 2 +- .../admin/parking_regulations/edit.blade.php | 19 ++++++++---- .../admin/parking_regulations/list.blade.php | 5 ++-- 4 files changed, 47 insertions(+), 9 deletions(-) create mode 100644 app/Models/ParkingRegulation.php diff --git a/app/Models/ParkingRegulation.php b/app/Models/ParkingRegulation.php new file mode 100644 index 0000000..60308a1 --- /dev/null +++ b/app/Models/ParkingRegulation.php @@ -0,0 +1,30 @@ + $psections, 'ptypes' => $ptypes, 'parkId' => $parkId, 'record' => null])
- + 戻る
diff --git a/resources/views/admin/parking_regulations/edit.blade.php b/resources/views/admin/parking_regulations/edit.blade.php index 1e936c0..5a1ad4d 100644 --- a/resources/views/admin/parking_regulations/edit.blade.php +++ b/resources/views/admin/parking_regulations/edit.blade.php @@ -27,16 +27,25 @@
-
+ + @csrf @include('admin.parking_regulations._form', ['psections' => $psections, 'ptypes' => $ptypes, 'parkId' => $park->park_id, 'record' => $record])
- - - 戻る -
+
+ + +
+ @csrf + + +
+ + 戻る + +
diff --git a/resources/views/admin/parking_regulations/list.blade.php b/resources/views/admin/parking_regulations/list.blade.php index 0d2b6b2..d0aec62 100644 --- a/resources/views/admin/parking_regulations/list.blade.php +++ b/resources/views/admin/parking_regulations/list.blade.php @@ -80,17 +80,16 @@ @forelse($regulations as $r) - + 編集
@csrf -
{{ $r->psection_subject ?? $r->psection_id }} {{ $r->ptype_subject ?? $r->ptype_id }} - {{ Str::limit($r->regulations_text ?? '', 200) }} + {!! $r->regulations_text !!} @empty