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