@extends('layouts.user_type.auth') @section('pageActions') @endsection @section('faq') @include('components.alert')
All questions
{{ $faqs->total() }} questions
@forelse($faqs as $index => $faq) @empty @endforelse
#QuestionStatus
{{ str_pad($faqs->firstItem()+$index,2,'0',STR_PAD_LEFT) }}
{{ $faq->question }} {{ \Illuminate\Support\Str::limit($faq->answer, 120) }}
{{ ucfirst($faq->status) }}
@if($faq->status !== 'inactive')
@csrf @method('DELETE')
@endif
No FAQ yet
Answer common questions once and save your support team time.
@include('components.pagination', ['paginator' => $faqs])
Add New FAQ
Shown in the client help centre when active.
@csrf
@endsection