Commit c5c61b26 authored by Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss
Browse files

Fixed #8555: corrected `get_comment_form` tag documentation.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 4f711eb5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
you can use in the template::

    {% get_comment_form for [object] %}
    {% get_comment_form for [object] as [varname] %}
    
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 }}
      <p class="submit">