Skip to content

Instantly share code, notes, and snippets.

@growtopiajaw
Created June 28, 2019 09:06
Show Gist options
  • Save growtopiajaw/2702c4f11c84bd9db2f90bd4fb68de95 to your computer and use it in GitHub Desktop.
Save growtopiajaw/2702c4f11c84bd9db2f90bd4fb68de95 to your computer and use it in GitHub Desktop.
title form
Contact Form
name fields buttons process
contact
name email message g-recaptcha-response
label placeholder autocomplete type validate
Name
Enter your name
true
text
required
true
label placeholder type validate
Email
Enter your email address
email
required
true
label placeholder type validate
Message
Enter your message
textarea
required
true
label type recaptcha_not_validated
Captcha
captcha
Captcha not valid!
submit reset
type value
submit
Submit
type value
reset
Reset
captcha save email message display
true
fileprefix dateformat extension body
contact-
Ymd-His-u
txt
{% include 'forms/data.txt.twig' %}
subject body
[Site Contact Form] {{ form.value.name|e }}
{% include 'forms/data.html.twig' %}
Thank you for getting in touch!
thankyou

Contact form

Some sample page content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment