Created
September 27, 2011 15:00
-
-
Save did/1245282 to your computer and use it in GitHub Desktop.
form.html
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
<form id="contactform" action="{{ contents.messages.api.create }}" method="post"> | |
<input type="hidden" name="success_callback" value="/contact/success" /> | |
<input type="hidden" name="error_callback" value="/contact/error" /> | |
<p><label for="name">Name</label></p> | |
<input type="text" id=name name="content[name]" placeholder="First and last name" required tabindex="1" /> | |
<p><label for="email">Email</label></p> | |
<input type="text" id=email name="content[email]" placeholder="[email protected]" required tabindex="2" /> | |
<p><label for="comment">Your Message</label></p> | |
<textarea name="content[message]" id="comment" tabindex="4" required></textarea> | |
<input name="submit" type="submit" id="submit" tabindex="5" value="Send Message" /> | |
</form> |
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
name: messages | |
description: Fill the text here | |
slug: messages | |
highlighted_field_name: name | |
fields: | |
- name: | |
label: Name | |
kind: string | |
hint: Fill the text here | |
required: true | |
- email: | |
label: Email | |
kind: string | |
hint: Fill the text here | |
required: true | |
- message: | |
label: Message | |
kind: text | |
hint: Fill the text here | |
required: true | |
api_enabled: true | |
order_by: manually |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment