Single Page App - Sammy Form Template
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 action="#/pretend/post/url" method="post"> | |
<p><label for="name">Name</label> | |
<input type="text" name="name" /></p> | |
<p><label for="email">Email</label> | |
<input type="text" name="email" /></p> | |
<p>Roles</p> | |
<p><label for="role_admin">Admin</label> | |
<input type="checkbox" name="roles[]" value="admin" id="role_admin"/></p> | |
<p><label for="role_author">Author</label> | |
<input type="checkbox" name="roles[]" value="author" id="role_author"/></p> | |
<p><input type="submit" value="Post" /></p> | |
</form> | |
<h3>Plain old form</h3> | |
<form method="post" action="/i_should_submit"> | |
<p><input type="submit" value="Dont press me!" /></p> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment