@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("hotels")}}

{{__("all-hotels")}}

@endsection @section("content")

{{__("edit-hotel")}}

id)}}" enctype="multipart/form-data"> @csrf @method("put")
@error("name_en")
{{$message}}
@enderror
@error("name_ar")
{{$message}}
@enderror
@error("phone_number")
{{$message}}
@enderror
@error("whatsapp_number")
{{$message}}
@enderror
{{__("km")}}
@error("far_from_alharam")
{{$message}}
@enderror
stars_number == 5) checked @endif/> stars_number == 4) checked @endif/> stars_number == 3) checked @endif/> stars_number == 2) checked @endif/> stars_number == 1) checked @endif/>
@error("rate")
{{$message}}
@enderror
@error("city")
{{$message}}
@enderror

@error("location")
{{$message}}
@enderror
@error("description_en")
{{$message}}
@enderror
@error("description_ar")
{{$message}}
@enderror

@error("main_image")
{{$message}}
@enderror
@if ($hotel->getFirstMediaFile('main')) @endif

@if ($hotel->getFirstMediaFile('gallery')) @foreach ($hotel->getMediaFiles('gallery') as $file)
@endforeach @endif
@endsection @section("scripts") @endsection