{{($faqcontents) ? "Edit FAQ Content" : "Add FAQ Content"}}

@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @if($faqcontents) @method('PATCH') @endif
@if($faqcontents) @php $image = $faqcontents->uplaod_file; $fileName = explode("/",$image); $fileCheck = $fileName[sizeof($fileName) - 1]; @endphp @if($image) @if(explode(".",$fileCheck)[1] =="mp4")
@else
@endif @endif @endif
@push('scripts') @endpush