@extends('backend.layout') {{-- this style will be applied when the direction of language is right-to-left --}} @includeIf('backend.partials.rtl-style') @section('content')
{{ __('FAQs') }}
@includeIf('backend.partials.languages')
{{ __('Add FAQ') }}
@if (count($faqs) == 0)

{{ __('NO FAQ FOUND')."!" }}

@else
@foreach ($faqs as $faq) @endforeach
{{ __('Question') }} {{ __('Serial Number') }} {{ __('Actions') }}
{{ strlen($faq->question) > 50 ? convertUtf8(substr($faq->question, 0, 50)) . '...' : convertUtf8($faq->question) }} {{ $faq->serial_number }}
@csrf
@endif
{{-- create modal --}} @include('backend.faq.create') {{-- edit modal --}} @include('backend.faq.edit') @endsection