{{-- resources/views/admin/flights/create.blade.php --}} {{-- Create flight deal form with AJAX-chained country/destination dropdowns --}} {{-- Controller: Admin\FlightController@create / @store --}} @extends('layouts.admin') @section('title', 'Add Flight') @section('page_title', 'Add Flight') @section('page_css') @endsection @section('content') Airline / Flight Name * @error('name') {{ $message }} @enderror Category Select Category @foreach($categories as $cat) id ? 'selected' : '' }}>{{ $cat->name }} @endforeach @error('category_id') {{ $message }} @enderror Country Select Country @foreach($countries as $country) id ? 'selected' : '' }}>{{ $country->name }} @endforeach @error('country_id') {{ $message }} @enderror Destination Select Country first @error('destination_id') {{ $message }} @enderror Deal URL @error('url') {{ $message }} @enderror Discount % @error('discount_percent') {{ $message }} @enderror Description {{ old('description') }} @error('description') {{ $message }} @enderror Top Deal Popular Show on Homepage Show in Header Status (Active) Save Flight Cancel @endsection @section('page_js') @endsection