Fixed #8555: corrected `get_comment_form` tag documentation.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2008-08-26 15:23:02 +00:00
parent 4f711eb5e3
commit c5c61b261e
1 changed files with 2 additions and 2 deletions

View File

@ -146,11 +146,11 @@ If you want more control over the look and feel of the comment form, you use use
:ttag:`get_comment_form` to get a :ref:`form object <topics-forms-index>` that :ttag:`get_comment_form` to get a :ref:`form object <topics-forms-index>` that
you can use in the template:: you can use in the template::
{% get_comment_form for [object] %} {% get_comment_form for [object] as [varname] %}
A complete form might look like:: A complete form might look like::
{% get_comment_form for event %} {% get_comment_form for event as form %}
<form action="{% comment_form_target %}" method="POST"> <form action="{% comment_form_target %}" method="POST">
{{ form }} {{ form }}
<p class="submit"> <p class="submit">