@extends('layouts.main-layout') @section('title') Edit Guest Profile | Dashboard @endsection @section('content')
Update Guest Profile
@csrf @method('PUT')
First Name
@error('first_name')
{{$errors->first('first_name')}}
@enderror
Last Name
@error('last_name')
{{$errors->first('last_name')}}
@enderror
Email
@error('email')
{{$errors->first('email')}}
@enderror
Telephone
@error('telephone')
{{$errors->first('telephone')}}
@enderror
Password
@error('password')
{{$errors->first('password')}}
@enderror
Confirm Password
@error('password_confirmation')
{{$errors->first('password_confirmation')}}
@enderror
CNIC No
@error('cnic')
{{$errors->first('cnic')}}
@enderror
Passport No
@error('passport')
{{$errors->first('passport')}}
@enderror
Street Address
@error('street_address')
{{$errors->first('street_address')}}
@enderror
Zip Code
@error('zipcode')
{{$errors->first('zipcode')}}
@enderror
Country
Select Country
@foreach($countries as $country) @if($guestCountry && $guestCountry->CountryId == $country->CountryId || old('country') == $country->CountryId )
{{$country->CountryName}}
@else
{{$country->CountryName}}
@endif @endforeach
@error('country')
{{$errors->first('country')}}
@enderror
City
Select a country first!
@error('city')
{{$errors->first('city')}}
@enderror
Preferred Language
Select a language
@foreach($preferredLanguages as $preferredLanguage)
PreferredLanguage ? 'selected' : ''}}>{{$preferredLanguage}}
@endforeach
@error('preferred_language')
{{$errors->first('preferred_language')}}
@enderror
Update Profile
@endsection @section('js') @endsection