@extends('layouts.portal') @section('title', __('Edit system user')) @section('content')
@include('partials.portal-header')

{{ __('PERSONS') }} / {{ __('SYSTEM USERS') }}

{{ __('Edit system user') }}

{{ $user->username }} ยท {{ __('Person ID :id', ['id' => $user->person_id]) }}

@if($errors->any()) @endif
@csrf @method('PUT')

{{ __('Person details') }}

@include('persons.people.shared-fields', ['person' => $user->person])

{{ __('System account') }}

@error('username'){{ $message }}@enderror
@error('is_active'){{ $message }}@enderror
{{ __('Leave both password fields blank to keep the current password. Enter a new password to replace it.') }} @error('password'){{ $message }}@enderror
{{ __('Cancel') }}
@endsection