@extends( ($theme =="white") ? 'layouts.white_theme': ( ($theme =="red") ? 'layouts.red_theme': (($theme =="green") ? 'layouts.green_theme': (($theme =="black") ? 'layouts.black_theme': ( ($theme =="blue") ?'layouts.blue_theme': 'layouts.yellow_theme' )))) ) @section('content')

{{ __('FAQs') }}

@include('common.demo') @include('common.errors')
@if($show_add_button) {{__('Add')}} @endif
@if (!count($faqs))

{{ __('No data found') }} !!

{{ __('Sorry we cant find any data, to get rid of this message, make at least 1 entry') }}.

{{ __('Create new One') }}
@else @if($show_edit_button || $show_delete_button) @endif @foreach($faqs as $faq) @if($show_edit_button || $show_delete_button) @endif @endforeach
{{ __('Category') }} @if($sort_order =='asc') @else @endif {{ __('Name') }} @if($sort_order =='asc') @else @endif
{{$faq->categories->name}} {{$faq->name}} @if($show_edit_button) @endif @if($show_delete_button)
@method('DELETE') @csrf
@endif

{{ $faqs->appends($request->all())->links("pagination::bootstrap-4") }} @endif
@endsection