@include('admin.components.form.input', [
'label' => __('first Name') . "*",
'name' => "firstname",
'placeholder' => __("enter First Name"),
'value' => old('firstname', auth()->user()->firstname)
])
@include('admin.components.form.input', [
'label' => __('last Name') . "*",
'name' => "lastname",
'placeholder' => __("enter Last Name"),
'value' => old('lastname', auth()->user()->lastname)
])
@include('admin.components.form.input', [
'label' => __("address"),
'name' => "address",
'placeholder' => __("enter Address"),
'value' => old('address', auth()->user()->address->address ?? "")
])
@php
$old_city = old('city', auth()->user()->address->city ?? "");
@endphp
@include('admin.components.form.input', [
'label' => __("city"),
'name' => "city",
'placeholder' => __('enter City'),
'value' => old('city', $old_city)
])