@php $input = 'w-full h-11 px-3 rounded-xl border border-slate-300 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-sm outline-none focus:ring-2 ring-brand-500 focus:bg-white dark:focus:bg-slate-900'; $label = 'block text-sm font-semibold mb-2'; @endphp {{-- Breadcrumb --}}
Products/{{ $title }}
{{-- Success message --}} @if (session('success'))
{{ session('success') }}
@endif {{-- Errors --}} @if ($errors->any())
@endif
{{-- Add new --}}
@csrf

Add new {{ strtolower($title) }}

@if ($withShort)
@endif
{{-- List --}}
All {{ strtolower($title) }} list ({{ $items->count() }})
@if ($withShort) @else @endif @forelse ($items as $i => $item) {{-- Normal row --}} @if ($withShort) @else @endif {{-- Edit row (shuru te lukano) --}} @empty @endforelse
# NameShort nameProductsAction
{{ $i + 1 }} {{ $item->name }}{{ $item->short_name }}{{ $item->products_count }}
@csrf @method('DELETE')
Ekhono kichu add kora hoyni. Bam dike theke notun add koro.
@push('scripts') @endpush