@extends('admin.master') @section('content')
@if(session('success'))
{{ session('success') }}
@endif

FAQ Sections

Manage FAQ section title, subtitle and status

Add Section
@forelse($sections as $key => $section) @empty @endforelse
# Title Subtitle Status Action
{{ $sections->firstItem() + $key }} {{ $section->title }} {{ $section->subtitle }} @if($section->is_active) Active @else Inactive @endif
Edit
@csrf @method('DELETE')
No section found
{{ $sections->links() }}

FAQ Items

Manage question, answer, order and status

Add Item
@forelse($items as $key => $item) @empty @endforelse
# Section Question Answer Order Status Action
{{ $items->firstItem() + $key }} {{ $item->section->title ?? 'N/A' }} {{ $item->question }} {{ \Illuminate\Support\Str::limit($item->answer, 80) }} {{ $item->display_order }} @if($item->is_active) Active @else Inactive @endif
Edit
@csrf @method('DELETE')
No item found
{{ $items->links() }}
@endsection