@extends('central.super.layout') @section('title', __('super.faq.title')) @section('content')

{{ __('super.faq.questions') }}

{{ $faqs->count() }} {{ $faqs->count() == 1 ? __('super.common.item') : __('super.common.items') }}
@if($faqs->isNotEmpty())
@foreach($faqs as $faq)
{{ $faq->sort_order }}

{{ $faq->question }}

{{ Str::limit($faq->answer, 120) }}

{{ $faq->is_active ? __('super.common.active') : __('super.common.inactive') }} {{ __('super.common.edit') }}
@csrf @method('DELETE')
@endforeach
@else

{{ __('super.faq.no_faqs') }}

{{ __('super.faq.no_faqs_desc') }}

{{ __('super.faq.add_first') }}
@endif
@push('scripts') @endpush @endsection