@extends('layouts.portal') @section('title', __('Add :role', ['role' => strtolower(__($settings['label']))])) @section('content')
@include('partials.portal-header')

{{ __('PERSONS') }} / {{ strtoupper(__($settings['plural'])) }}

{{ __('Add :role', ['role' => strtolower(__($settings['label']))]) }}

{{ __('Choose an existing person or create the person and :role record together.', ['role' => strtolower(__($settings['label']))]) }}

@if($errors->any()) @endif
@csrf
{{ __('Type at least two characters. People already enrolled as :roles are excluded.', ['roles' => strtolower(__($settings['plural']))]) }} @error('person_id'){{ $message }}@enderror

{{ __(':role details', ['role' => strtolower(__($settings['label']))]) }}

@error($settings['number_field']){{ $message }}@enderror
@error('is_active'){{ $message }}@enderror
{{ __('Cancel') }}
@include('partials.person-picker-script') @endsection