forked from TryGhost/Dawn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom-page-with-form.hbs
More file actions
26 lines (25 loc) · 908 Bytes
/
Copy pathcustom-page-with-form.hbs
File metadata and controls
26 lines (25 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{{!< default}}
<div class="content-area">
<main class="site-main">
{{#post}}
{{> content width="wide"}}
{{/post}}
<form action="https://formspree.io/FORM_ID" class="contact-form container small" method="POST">
<label>
Name:
<input type="text" name="name" required>
</label>
<label>
Email:
<input type="email" name="email" required>
</label>
<label>
Message:
<textarea rows="6" name="message" required></textarea>
</label>
<input type="hidden" name="_subject" id="email-subject" value="Contact Form Submission">
<input type="hidden" name="_next" value="{{@site.url}}/thanks/">
<button class="button" type="submit">Submit</button>
</form>
</main>
</div>