@include('admin.components.form.input-file',[
'label' => "Profile Image:",
'name' => "image",
'class' => "file-holder",
'old_files_path' => files_asset_path('admin-profile'),
'old_files' => $profile->image,
])
@include('admin.components.form.input',[
'label' => 'First Name*',
'name' => 'firstname',
'value' => old('firstname',$profile->firstname),
])
@include('admin.components.form.input',[
'label' => 'Last Name*',
'name' => 'lastname',
'value' => old('lastname',$profile->lastname),
])
@include('admin.components.form.input',[
'label' => 'Email*',
'type' => 'email',
'name' => 'email',
'value' => old('email',$profile->email),
'attribute' => (!auth_is_super_admin()) ? "readonly" : "",
])
@include('admin.components.form.input',[
'label' => 'Phone Number',
'name' => 'phone',
'value' => old('phone',$profile->phone),
])
@php
$old_country = old('country',$profile->country);
@endphp
@php
$old_state = old('state',$profile->state);
@endphp
@php
$old_city = old('city',$profile->city);
@endphp
@include('admin.components.form.input',[
'label' => 'Zip/Postal',
'type' => 'number',
'name' => 'zip_postal',
'value' => old('zip_postal',$profile->zip_postal),
])
@include('admin.components.form.input',[
'label' => 'Address',
'name' => 'address',
'value' => old('address',$profile->address),
])