@include('shared.alerts')
{{ __('Details') }}
@method('PUT') @csrf @include('shared.input', ['label' => __('Name'), 'name' => 'name', 'value' => old('name', $user->name)]) @include('shared.input', ['label' => __('E-mail'), 'name' => 'email', 'value' => old('email', $user->email), 'type' => 'email']) @include('shared.input', ['label' => __('CPR'), 'name' => 'cpr', 'value' => old('cpr', $user->cpr)]) @include('shared.input', ['label' => __('Address'), 'name' => 'address', 'value' => old('address', $user->address)]) @include('shared.input', ['label' => __('Address 2'), 'name' => 'address2', 'value' => old('address2', $user->address2)]) @include('shared.input', ['label' => __('Zipcode'), 'name' => 'zipcode', 'value' => old('zipcode', $user->zipcode)]) @include('shared.input', ['label' => __('City'), 'name' => 'city', 'value' => old('city', $user->city)]) @include('shared.input', ['label' => __('Country'), 'name' => 'country', 'value' => old('country', $user->country)]) @include('shared.input', ['label' => __('Mobile'), 'name' => 'mobile', 'value' => old('mobile', $user->mobile)]) @include('shared.input', ['label' => __('Alternative e-mail'), 'name' => 'email_alt', 'value' => old('email_alt', $user->email_alt)])
@if($user->id === Auth::user()->id)
{{ __('Change password') }}
@method('PUT') @csrf @include('shared.input', ['label' => __('Password'), 'name' => 'password', 'value' => old('password'), 'type' => 'password']) @include('shared.input', ['label' => __('Password confirmation'), 'name' => 'password_confirmation', 'value' => old('password_confirmation'), 'type' => 'password'])
@endif
{{ __('Delete user') }}
@method('DELETE') @csrf
{{ __('Avatar') }}
@method('PUT') @csrf @if ($user->avatar) @else @endif @if ($errors->has('image')) @endif
@if ($user->avatar)
@method('DELETE') @csrf
@endif