<div class="row">
    <x-forms col="6" label="{{ __('dashboard.name') }}" name="name" :value="$visitorManagement->name ?? ''" required />
    <x-forms col="6" label="{{ __('dashboard.email') }}" name="email" type="email" :value="$visitorManagement->email ?? ''" required />
</div>

<div class="row">
    <x-forms col="6" label="{{ __('dashboard.password') }}" name="password" type="password" :required="!$visitorManagement" placeholder="{{ $visitorManagement ? __('dashboard.leave_blank_to_keep') : '' }}" />
    <x-forms col="6" label="{{ __('dashboard.password_confirmation') }}" name="password_confirmation" type="password" :required="!$visitorManagement" />
</div>

<div class="row">
    <x-forms col="4" label="{{ __('dashboard.phone') }}" name="phone" :value="$visitorManagement->phone ?? ''" />

    <div class="col-md-4">
        <x-boolean-input name="is_active" label="{{ __('dashboard.active') }}" :value="$visitorManagement ?? (object)['is_active' => true]" />
    </div>
</div>
