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

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

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