Last active
December 10, 2015 12:29
-
-
Save ericlbarnes/4434895 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ email:form subject="Contact Form" to="[email protected]" required="name" }} | |
{{ if error}} | |
<h1>Error</h1> | |
<ul> | |
{{ errors }} | |
<li>{{error}}</li> | |
{{ /errors }} | |
</ul> | |
{{ endif }} | |
{{ if success }} | |
<h1>IT WORKED!</h1> | |
{{ else }} | |
<p> | |
<label for="name">Name:</label> | |
<input type="text" name="name" id="name" value="Bill"> | |
</p> | |
<p> | |
<label for="from">Email:</label> | |
<input type="text" name="from" id="from" value="[email protected]"> | |
</p> | |
<p><input type="submit"></p> | |
{{ endif }} | |
{{ /email:form }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment