<form wire:submit.prevent="update" @settings-updated.window="toast.success($event.detail)">
    <div class="row mb-2">
        <h5 class="lead">Email Information</h5>
        <div class="col-md-6 mt-3">
            <label class="fw-bold">Driver</label>
            <x-form.input name="config_form.driver" wire:model="config_form.driver" />
        </div>

        <div class="col-md-6 mt-3">
            <label class="fw-bold">Host</label>
            <x-form.input name="config_form.host" wire:model="config_form.host" />
        </div>

        <div class="col-md-6 mt-3">
            <label class="fw-bold">Port</label>
            <x-form.input name="config_form.port" wire:model="config_form.port" />
        </div>

        <div class="col-md-6 mt-3">
            <label class="fw-bold">Encryption</label>
            <x-form.input name="config_form.encryption" wire:model="config_form.encryption" />
        </div>

        <div class="col-md-6 mt-3">
            <label class="fw-bold">Username</label>
            <x-form.input name="config_form.username" wire:model="config_form.username" />
        </div>

        <div class="col-md-6 mt-3">
            <label class="fw-bold">Password</label>
            <x-form.input name="config_form.password" wire:model="config_form.password" />
        </div>

    <div class="row mt-4">
        <x-form.submit target="update" text="Update configuration" />
    </div>
</form>