This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/contact.html.twig

44 lines
1.5 KiB
Twig
Raw Normal View History

2017-07-11 00:08:32 +00:00
---
title: Contact
2018-10-05 23:23:35 +00:00
layout: default
2017-07-11 00:08:32 +00:00
use: [posts]
honeypot_field: Qr4W7oB25C
2017-07-11 00:08:32 +00:00
---
{% block content %}
2019-01-05 00:08:45 +00:00
<div class="mt-2 mb-6">
2018-10-06 07:41:31 +00:00
<p>To send me an email, complete the form below.</p>
</div>
2017-07-11 00:08:32 +00:00
<form name="contact" method="POST" netlify-honeypot="{{ page.honeypot_field }}" data-netlify="true" class="spaced-y-4">
2019-04-23 21:27:58 +00:00
<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 />
2018-10-06 07:41:31 +00:00
</div>
2019-04-23 21:27:58 +00:00
<div class="spaced-y-1">
<label for="email" class="block">Email</label>
<input type="email" class="w-full p-2 border border--grey" id="email" name="email" required />
2018-10-06 07:41:31 +00:00
</div>
2019-04-23 21:27:58 +00:00
<div class="spaced-y-1">
<label for="subject" class="block">Subject</label>
<input type="text" class="w-full p-2 border border--grey" id="subject" name="subject" required />
2018-10-06 07:41:31 +00:00
</div>
2019-04-23 21:27:58 +00:00
<div class="spaced-y-1">
<label for="message" class="block">Message</label>
<textarea id="message" class="w-full p-2 border border--grey" rows="5" name="message" required></textarea>
2018-10-06 07:41:31 +00:00
</div>
2019-04-23 21:40:29 +00:00
<p class="hidden">
<label>Dont fill this out if you're human: <input name="{{ page.honeypot_field }}" /></label>
2019-04-23 21:40:29 +00:00
</p>
2018-12-28 09:25:43 +00:00
2018-10-06 07:41:31 +00:00
<div>
<button class="button" type="submit">Send email</button>
</div>
<input type="hidden" name="_next" value="{{ site.url }}/contact/thanks" />
2017-07-11 00:08:32 +00:00
</form>
{% endblock %}