<x-admin.modal id="modalAddSubscriber" :title="__('admin/email-marketing.add_subscriber')">
    <form id="formAddSubscriber">
        <div class="mb-3">
            <label class="form-label">{{ __('admin/email-marketing.label_email') }} <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>
        <div class="row g-2">
            <div class="col-md-6 mb-3">
                <label class="form-label">{{ __('admin/email-marketing.label_first_name') }}</label>
                <input type="text" name="first_name" class="form-control">
            </div>
            <div class="col-md-6 mb-3">
                <label class="form-label">{{ __('admin/email-marketing.label_last_name') }}</label>
                <input type="text" name="last_name" class="form-control">
            </div>
        </div>
        <div id="addSubscriberError" class="alert alert-danger d-none small"></div>
    </form>
    <x-slot:footer>
        <button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="modal">{{ __('admin/common.cancel') }}</button>
        <button type="button" class="btn btn-primary btn-sm" id="btnAddSubscriber">{{ __('admin/common.save') }}</button>
    </x-slot:footer>
</x-admin.modal>
