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

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

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

{{ __('Link an account to an existing person or create the person and account together.') }}

@if($errors->any()) @endif
@csrf
{{ __('Only active people without a system account are shown.') }} @error('person_id'){{ $message }}@enderror

{{ __('System account') }}

@error('username'){{ $message }}@enderror
{{ __('Use at least 12 characters.') }} @error('password'){{ $message }}@enderror
@error('is_active'){{ $message }}@enderror
{{ __('Cancel') }}
@include('partials.person-picker-script') @endsection