Skip to content

Instantly share code, notes, and snippets.

@MetalBeetle
Created February 6, 2011 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MetalBeetle/813279 to your computer and use it in GitHub Desktop.
Save MetalBeetle/813279 to your computer and use it in GitHub Desktop.
<form action="somewhere" method="POST">
<!-- single <input type="text"> row -->
{% render forms.text_row("name", name) %}
<!-- single <input type="text"> row driven by model -->
{% render forms.model_row(model, "name") %}
<!-- entire model as a form -->
{% render forms.model_form(model) %}
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment