Skip to content

Commit

Permalink
Newsletter form: open new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
falkodev committed Dec 20, 2024
1 parent fb436ac commit 5900393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/newsletter-widget/views/widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
</div>
{# TODO: add a js file to prevent default, do submission through AJAX and display result (success or failure) #}
<form class="pdl-newsletter__form" action="https://app.kit.com/forms/7188099/subscriptions" method="POST">
<form class="pdl-newsletter__form" action="https://app.kit.com/forms/7188099/subscriptions" method="POST" target="_blank">
<div class="pdl-newsletter__content">
<input type="email" id="email" name="email_address" class="pdl-newsletter__input" placeholder="{{ data.global.newsletterPlaceholder or __t('pdl:Email') }} *" aria-label="Email" required>
<button class="pdl-newsletter__submit">{{ data.global.newsletterSubmitText or __t('pdl:Subscribe') }}</button>
Expand Down

0 comments on commit 5900393

Please sign in to comment.