Skip to content

Commit

Permalink
Merge pull request #2443 from mainmatter/add-id-for-newsletter
Browse files Browse the repository at this point in the history
feat: add newsletter-signup id for signup form
  • Loading branch information
BobrImperator authored Jun 12, 2024
2 parents 26b6f8c + 0b2bd69 commit 1ed43c0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/cta-banner.njk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@
<div class="cta-banner__text">{{ content.text | safe }}</div>
{% endif %}
{% if content.newsletterSignup %}
<form action="{{ content.newsletterSignupAction }}" method="post" target="_blank">
<form
id="newsletter-signup"
action="{{ content.newsletterSignupAction }}"
method="post"
target="_blank"
>
<div class="contact-form__field cta__input mb-2 mt-2">
<input
class="contact-form__input"
Expand Down

0 comments on commit 1ed43c0

Please sign in to comment.