<x-admin.modal id="modalSendTest" :title="__('admin/email-campaigns.test_send_modal_title')">
    <form id="formSendTest">
        <div class="mb-3">
            <label class="form-label">{{ __('admin/email-campaigns.test_email_label') }} <span class="text-danger">*</span></label>
            <input type="email" name="email" class="form-control" required>
            @error('email') <div class="invalid-feedback">{{ $message }}</div> @enderror
            <div class="form-text small">{{ __('admin/email-campaigns.test_email_hint') }}</div>
        </div>
        <div id="sendTestResult" class="mt-3"></div>
    </form>
    <x-slot:footer>
        <button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="modal">{{ __('admin/common.close') }}</button>
        <button type="button" class="btn btn-primary btn-sm" id="btnSendTest">
            <i class="fas fa-vial me-1"></i>{{ __('admin/email-campaigns.test_send_btn') }}
        </button>
    </x-slot:footer>
</x-admin.modal>
