@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.bulk_edit') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')

{{ trans('admin/users/general.bulk_update_help') }}

{{ trans('admin/users/general.bulk_update_warn', ['user_count' => count($users)]) }} {{-- Company (gated on the FMCS + acting user check) --}} @if (\App\Models\Company::canManageUsersCompanies()) @endif {{-- Manager --}} {{-- Language --}} {{-- City --}} {{-- State --}} {{-- Country --}} {{-- Zip --}} {{-- Address --}} {{-- Phone --}} {{-- Job title --}} {{-- Employee number: clear-only, since employee numbers are unique per user and can't be bulk-set to a shared value. --}} {{-- Website --}} {{-- Remote worker --}} {{-- LDAP-managed passwords. Radio values look inverted vs the label text — "0" = allow user management, "1" = disallow. Preserved from the pre-rewrite markup on purpose. --}} {{-- Autoassign licenses --}} {{-- Login enabled --}} {{-- Email. Auth-sensitive: the controller only applies this to users the acting user is permitted to edit. --}} {{-- Groups. Superuser-only; anyone else sees a static "you don't have permission" help block instead of the picker. Wrapped in a custom slot:input so the two branches share the form.row scaffolding. --}} @if ((config('app.lock_passwords') || (! Auth::user()->isSuperUser())))

{{ trans('admin/users/general.group_memberships_helpblock') }}

@else {{ trans('admin/users/table.groupnotes') }} @endif
{{-- Display name + inline null-toggle. Kept as hand-rolled markup because the null checkbox sits in a sibling col-md-5 next to the input, not stacked below like the other rows above. Uses trans key general.set_to_null (singular selection_count) rather than the field- specific set_users_field_to_null used by stacked rows. --}}
{{-- Start date + inline null-toggle. See display_name for why this is hand-rolled. --}}
{{-- End date + inline null-toggle. See display_name for why this is hand-rolled. --}}
{{-- Notes --}} @foreach ($users as $user) @endforeach
@stop