{{-- See snipeit_modals.js for what powers this. The password-generator wiring and first-input focus live in the modal-load callback there so the modal partial stays script-free. --}} @if ($user->companies->isNotEmpty()) @endif {{-- Email + username + password fields use the js-antifill-readonly pattern from users/edit.blade.php: readonly on load stops Firefox / Chrome / password managers from autofilling the admin's own stored credentials into a create-user form. onfocus removes readonly the moment the user actually clicks or tabs into the field, so keyboard + screen-reader flow is unaffected. --}} {{-- Activated checkbox lives above the password fields because snipeit.js toggles password-field visibility off this checkbox. Defaults to unchecked because the modal is typically used to create a user on-the-fly for asset assignment, where login is not usually needed. --}}
{{ trans('admin/users/general.activated_password_required_help') }}
{{-- Password + confirmation start hidden, revealed by snipeit.js when the activated checkbox is checked. --}}
{{ trans('general.toggle_password_visibility') }}
{{ trans('general.toggle_password_visibility') }}