Created
May 15, 2012 06:01
-
-
Save dingzhihu/2699475 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
<html> | |
<head> | |
<title>Contact us</title> | |
</head> | |
<body> | |
<h1>Contact us</h1> | |
{% if errors %} | |
<ul> | |
{% for error in errors %} | |
<li>{{ error }}</li> | |
{% endfor %} | |
</ul> | |
{% endif %} | |
<form action='' method='post'> | |
{% csrf_token %} | |
<p>Subject:<input type='text' name="subject"></p> | |
<p> Your e-mail(optional):<input type="text" name="email"></p> | |
<p>Message :<textarea name='message' rows="10" clos="50"></textarea></p> | |
<input type="submit" value="Submit"> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
my first gist snippet