{{-- resources/views/admin/hotels/create.blade.php --}} {{-- Create hotel form: all fields including AJAX-chained dropdowns --}} {{-- Controller: Admin\HotelController@create / @store --}} @extends('layouts.admin') @section('title', 'Add Hotel') @section('page_title', 'Add Hotel') @section('page_css') @endsection @section('content') {{-- Category --}} Category Select Category @foreach($categories as $cat) id ? 'selected' : '' }}> {{ $cat->name }} @endforeach @error('category_id') {{ $message }} @enderror {{-- Country --}} Country Select Country @foreach($countries as $country) id ? 'selected' : '' }}> {{ $country->name }} @endforeach @error('country_id') {{ $message }} @enderror {{-- Destination (AJAX populated) --}} Destination Select Country first @error('destination_id') {{ $message }} @enderror {{-- Name --}} Hotel Name * @error('name') {{ $message }} @enderror {{-- URL --}} Deal URL @error('url') {{ $message }} @enderror {{-- Discount % --}} Discount % @error('discount_percent') {{ $message }} @enderror {{-- Description --}} Description {{ old('description') }} @error('description') {{ $message }} @enderror {{-- Toggles row --}} Top Deal Popular Show on Homepage Show in Header Status (Active) {{-- Image upload --}} {{-- Form actions --}} Save Hotel Cancel @endsection @section('page_js') @endsection