{{-- resources/views/admin/faqs/edit.blade.php --}} {{-- Controller: Admin\FaqController@edit / @update --}} @extends('layouts.admin') @section('title', 'Edit FAQ') @section('page_title', 'Edit FAQ') @section('page_css') @endsection @section('content') Category All Categories @foreach($categories as $cat) category_id) == $cat->id ? 'selected' : '' }}> {{ $cat->name }} @endforeach Sort Order Linked Content (optional) Country — Not linked — @foreach($countries as $country) country_id) == $country->id ? 'selected' : '' }}> {{ $country->name }} @endforeach Destination @if($faq->destination) {{ $faq->destination->name }} @else — Not linked — @endif Hotel — Not linked — @foreach($hotels as $hotel) hotel_id) == $hotel->id ? 'selected' : '' }}> {{ $hotel->name }} @if($hotel->destination) — {{ $hotel->destination->name }} @endif @endforeach Airline / Flight — Not linked — @foreach($flights as $flight) flight_id) == $flight->id ? 'selected' : '' }}> {{ $flight->name }} @endforeach Question * @error('question') {{ $message }} @enderror Answer * {{ old('answer', $faq->answer) }} @error('answer') {{ $message }} @enderror Status (Active) status) === 'active' ? 'checked' : '' }}> Update FAQ Cancel @endsection @section('page_js') @endsection