<x-form-section submit="updatePassword">
    <x-slot name="title">
        {{ __('Update Password') }}
    </x-slot>

    <x-slot name="description">
        {{ __('Ensure your account is using a long, random password to stay secure.') }}
    </x-slot>

    <x-slot name="form">
        <div class="row mb-3">
            <x-label class="col-md-4 col-lg-3 col-form-label" for="current_password" value="{{ __('Current Password') }}" />
            <div class="col-md-8 col-lg-9">
                <x-input id="current_password" type="password" class="mt-1 block w-full" wire:model="state.current_password" autocomplete="current-password" />
                <x-input-error for="current_password" />
            </div>
        </div>

        <div class="row mb-3">
            <x-label class="col-md-4 col-lg-3 col-form-label" for="password" value="{{ __('New Password') }}" />
            <div class="col-md-8 col-lg-9">
                <x-input id="password" type="password" class="mt-1 block w-full" wire:model="state.password" autocomplete="new-password" />
                <x-input-error for="password" />
            </div>
        </div>

        <div class="row mb-3">
            <x-label class="col-md-4 col-lg-3 col-form-label" for="password_confirmation" value="{{ __('Confirm Password') }}" />
            <div class="col-md-8 col-lg-9">
                <x-input id="password_confirmation" type="password" class="mt-1 block w-full" wire:model="state.password_confirmation" autocomplete="new-password" />
                <x-input-error for="password_confirmation" />
            </div>
        </div>
    </x-slot>

    <x-slot name="actions">
        <x-action-message class="me-3" on="saved">
            {{ __('Saved.') }}
        </x-action-message>

        <x-button-success>
            {{ __('Save') }}
        </x-button-success>
    </x-slot>
</x-form-section>
