Skip to content

Commit

Permalink
Add recaptcha to contact form
Browse files Browse the repository at this point in the history
  • Loading branch information
falkodev committed Dec 20, 2024
1 parent 1660db2 commit de6e5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/contact-page/views/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 class="pdl-contact__heading">
<textarea id="message" name="message" class="pdl-contact__textarea" placeholder="{{ data.page.form.messageLabel }} *" required></textarea>
</div>
<input type="hidden" name="locale" value="{{ data.locale }}">
<button type="submit" class="pdl-contact__submit g-recaptcha" data-sitekey="{{ data.global.stripePublicKey }}" data-callback="onSubmit" data-action="submit">{{ data.page.form.sendLabel }}</button>
<button type="submit" class="pdl-contact__submit g-recaptcha" data-sitekey="{{ data.global.recaptchaSiteKey }}" data-callback="onSubmit" data-action="submit">{{ data.page.form.sendLabel }}</button>
</form>
</div>
</section>
Expand Down

0 comments on commit de6e5ee

Please sign in to comment.