#10445: Custom comment form example doesn't show submit button
---------------------------+------------------------------------------------
 Reporter:  nab            |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Django's comments framework:
 [http://docs.djangoproject.com/en/dev/ref/contrib/comments/#rendering-a
 -custom-comment-form]

 The following snippet doesn't show the submit button:

 {{{
 {% get_comment_form for event as form %}
 <form action="{% comment_form_target %}" method="POST">
   {{ form }}
   <p class="submit">
     <input type="submit" name="preview" class="submit-post"
 value="Preview">
   </p>
 </form>
 }}}


 Should be something of the form:

 {{{
 {% get_comment_form for event as form %}
 <form action="{% comment_form_target %}" method="POST">
   {{ form }}
     <tr>
       <td></td>
       <td><input type="submit" name="preview" class="submit-post"
 value="Preview"></td>
     </tr>
 </form>
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10445>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to