Add data-netlify-recaptcha attribute

This commit is contained in:
Oliver Davies 2019-04-23 22:29:18 +01:00
parent 7ff700d015
commit d7450e1436

View file

@ -8,7 +8,7 @@ use: [posts]
<p>To send me an email, complete the form below.</p>
</div>
<form name="contact" method="POST" action="/contact/thanks" data-netlify="true" class="spaced-y-4">
<form name="contact" method="POST" action="/contact/thanks" data-netlify-recaptcha="true" data-netlify="true" class="spaced-y-4">
<div class="spaced-y-1">
<label for="name" class="block">Name</label>
<input type="text" class="w-full p-2 border border--grey" id="name" name="name" required />