@extends('mainlayout.layout') @section('title', config('app.name') . ' | Edit user') @section('content') @php $editingProfile = !empty($editingOwnProfile); $formAction = $editingProfile ? url('/user/profile') : url('/users/edit_user/' . encrypt($user->uid)); @endphp
Back
Account management

{{ $editingProfile ? 'Edit your profile' : 'Edit user details' }}

Keep identity, contact and access information accurate.

User information

Required fields are marked with an asterisk.

@csrf @if($errors->any()) @endif
Identity
Contact
@if(!$editingProfile && Auth::user()->hasRole('superadmin'))
Access
@endif
Cancel
@endsection