Created
June 16, 2010 22:02
-
-
Save wess/441335 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 method="post"> | |
<dl> | |
{% for field in form %} | |
<dt>{{field.label_tag}}</dt> | |
<dd>{{field}}</dd> | |
{% if field.errors %}<dd class="field-errors">{{field.errors.as_text}}</dd>{% endif %} | |
{% endfor %} | |
<dt> </dt> | |
<dd><button type="submit">Submit</button></dd> | |
</dl> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment