@extends('backend.users.index') @section('body') Edit Profile @if(session('success')) Success {{session('success')}} × @endif @if(session('error')) Error {{session('error')}} × @endif @if($errors->any()) @foreach($errors->all() as $error) Error {{$error}} @endforeach × @endif {{csrf_field()}} @php $image_url = config('filesystems.asset').'/'.'admin'.'/'.$user->user->name.'/photo'; @endphp @if (isset($user->photo)) @else @endif Photo Update Full Name * Gender* gender=='Male') selected @endif>Male gender=='Female') selected @endif>Female gender=='Other') selected @endif>Other Citizenship No. * Date of Birth Mobile No.* Father Name * Country* --Choose Type-- @foreach($countries as $country) country_id==$country->id) selected @endif>{{$country->name}} @endforeach State* --Select-- @if(isset($user->country_id)) @foreach($user->country->states()->orderBy('name')->get() as $state) state_id==$state->id) selected @endif>{{$state->name}} @endforeach @endif District* --Select-- @if(isset($user->state_id)) @foreach($user->state->districts()->orderBy('name')->get() as $district) district_id==$district->id) selected @endif>{{$district->name}} @endforeach @endif MNP/NP/VDC* --Select-- @if(isset($user->district_id)) @foreach($user->district->cities()->orderBy('name')->get() as $city) city_id==$city->id) selected @endif>{{$city->name}} @endforeach @endif Tole Ward No. Employment Status Company Name Company Address Designation Next Update @endsection @section('script') @endsection