- @if($cat->description)
-
-
-
-
{{ $typeCount }} jenis
-
-
-
-
Urutan #{{ $cat->sort_order }}
-
+
+
+ {{ $typeCount }} jenis
+
+
+ Urutan #{{ $cat->sort_order }}
+
{{-- Actions --}}
-
-
+
+
@if($cat->is_active)
@@ -79,10 +75,8 @@
@@ -95,8 +89,8 @@
@@ -107,9 +101,9 @@
x-data x-on:submit.prevent="if(await window.confirmSwal({text:'Hapus kategori ini?'})) $el.submit()">
@csrf @method('DELETE')
@endif
@@ -118,13 +112,14 @@
@empty
-
-
-
Belum ada kategori pelanggaran.
-
@@ -139,22 +134,19 @@
{{-- Panel --}}
+ class="relative inline-block align-bottom bg-white rounded-2xl shadow-2xl border border-slate-200 text-left overflow-hidden transform transition-all sm:align-middle sm:max-w-lg sm:w-full">
{{-- Header --}}
-
-
-
-
-
+
@@ -167,80 +159,80 @@
{{-- Nama --}}
-
- Nama Kategori
+
{{-- Color Picker --}}
-
-
-
-
-
+
+
{{-- Sort Order --}}
-
-
+
+
{{-- Description --}}
-
-
{{-- Status toggle for edit --}}
-
+
-
Status Aktif
-
Nonaktifkan untuk menyembunyikan kategori ini
+
Status Aktif
+
Nonaktifkan untuk menyembunyikan kategori ini
-
{{-- Preview --}}
-