@extends('layouts.app') @section('title', 'Edit Profile') @section('content') Edit Profile Dashboard Edit Profile Edit Profile @csrf @method('PUT') Personal Information Name @error('name') {{ $message }} @enderror @error('a_name') {{ $message }} @enderror Profile Photo Choose file @if (isset($user) && $user->profile_photo) @endif @error('profile_photo') {{ $message }} @enderror Email @error('email') {{ $message }} @enderror Phone Number @error('phone_number') {{ $message }} @enderror Language language ?? '') == 'en' ? 'selected' : '' }}> English language ?? '') == 'ar' ? 'selected' : '' }}> Arabic Status status ?? 1) == 1 ? 'selected' : '' }}>Active status ?? 1) == 0 ? 'selected' : '' }}>In Active Role Select Role @foreach ($roles as $role) role_id ?? '') == $role->id ? 'selected' : '' }}> {{ $role->name }} @endforeach Address Details Country Select Country @foreach ($countries as $key => $country) addresses->isNotEmpty() ? $user->addresses[0]->country_id : config('constant.qatar_id')) == $key ? 'selected' : '' }}> {{ $country }} @endforeach State Select State City Select City Latitude Longitude Address @endsection @section('scripts') @endsection