@if($authMethod === 'system' && $user->system_name == 'public')

{{ trans('settings.users_system_public') }}

@endif
@if($authMethod === 'standard')

{{ trans('settings.users_details_desc') }}

@endif @if($authMethod === 'ldap' || $authMethod === 'system')

{{ trans('settings.users_details_desc_no_email') }}

@endif
@include('form.text', ['name' => 'name'])
@if($authMethod !== 'ldap' || userCan('users-manage')) @include('form.text', ['name' => 'email']) @endif
@if($authMethod === 'ldap' && userCan('users-manage'))

{{ trans('settings.users_external_auth_id_desc') }}

@include('form.text', ['name' => 'external_auth_id'])
@endif @if(userCan('users-manage'))

{{ trans('settings.users_role_desc') }}

@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
@endif @if($authMethod === 'standard')

{{ trans('settings.users_password_desc') }}

@if(isset($model))

{{ trans('settings.users_password_warning') }}

@endif
@include('form.password', ['name' => 'password'])
@include('form.password', ['name' => 'password-confirm'])
@endif