Add form name

This commit is contained in:
Oliver Davies 2018-07-20 16:34:53 +01:00
parent 981b58d569
commit 053557ef17

View file

@ -6,7 +6,7 @@ use: [posts]
{% block content %}
<p>To send me an email, complete the form below.</p>
<form method="POST" action="/contact/thanks" data-netlify="true" netlify-honeypot="bot-field">
<form name="contact" method="POST" action="/contact/thanks" data-netlify="true" netlify-honeypot="bot-field">
<label for="name" class="block mb-1">Name</label>
<input type="text"
class="w-full p-2 mb-4 border border--grey"