summaryrefslogtreecommitdiff
path: root/docs/topics/forms/formsets.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2008-09-09 01:54:20 +0000
committerAdrian Holovaty <adrian@holovaty.com>2008-09-09 01:54:20 +0000
commit74f386dba274e319eb9e76cfb6f5d38e602104d9 (patch)
treef39a1983daa4cf5650927daa729cf7f39176ae2b /docs/topics/forms/formsets.txt
parent834a041e67b61f84b095c0796ed085f4c4785b0a (diff)
Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/forms/formsets.txt')
-rw-r--r--docs/topics/forms/formsets.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt
index ca7aa2e14f..f3aa4a947e 100644
--- a/docs/topics/forms/formsets.txt
+++ b/docs/topics/forms/formsets.txt
@@ -306,7 +306,9 @@ management form inside the template. Lets look at a sample view::
formset = ArticleFormSet()
return render_to_response('manage_articles.html', {'formset': formset})
-The ``manage_articles.html`` template might look like this::
+The ``manage_articles.html`` template might look like this:
+
+.. code-block:: html+django
<form method="POST" action="">
{{ formset.management_form }}
@@ -318,7 +320,9 @@ The ``manage_articles.html`` template might look like this::
</form>
However the above can be slightly shortcutted and let the formset itself deal
-with the management form::
+with the management form:
+
+.. code-block:: html+django
<form method="POST" action="">
<table>