@section('page_title', 'Nominees') @section('content') {{-- ── Add Nominee Form ────────────────────────────────────── --}}
@csrf
{{-- ── Search / Filter ─────────────────────────────────────── --}}
🔍
@if (request()->hasAny(['search', 'category'])) Clear @endif
{{-- ── Nominees Table ───────────────────────────────────────── --}}

All Nominees ({{ $nominees->total() }})

@forelse ($nominees as $n) @empty @endforelse
Farm Category Location Votes Paid Votes Status Actions
{{ $n->farm_name }}
@if ($n->bio)
{{ Str::limit($n->bio, 50) }}
@endif
{{ $n->category->name }} {{ $n->location ?? '—' }} {{ number_format($n->votes) }} {{ number_format($n->success_votes ?? 0) }} @if ($n->is_active) 🟢 Active @else ⚫ Inactive @endif
Edit
@csrf @method('DELETE')
🌱

No nominees found

Add the first nominee using the form above

@if ($nominees->hasPages())
{{ $nominees->links() }}
@endif
@endsection