Changes between Initial Version and Version 1 of Ticket #16031


Ignore:
Timestamp:
May 18, 2011, 3:16:14 PM (13 years ago)
Author:
Gabriel Hurley
Comment:

Agreed. There are definitely some mixed signals in that example. Might as well include both buttons for completeness.

Speaking of "preview" buttons, you might want to use Trac's preview to check your code formatting before submitting your ticket next time. ;-)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16031

    • Property Easy pickings set
    • Property Triage Stage UnreviewedAccepted
  • Ticket #16031 – Description

    initial v1  
    11When viewing the documentation for the django comment framework (http://docs.djangoproject.com/en/dev/ref/contrib/comments/) this is the example form that is shown:
    22
    3 
     3{{{
    44{% get_comment_form for event as form %}
    55<form action="{% comment_form_target %}" method="post">
     
    1010  </tr>
    1111</form>
    12 
     12}}}
    1313However, the post button is missing, only the preview button appears, and it's class is shown as a post button.   Not sure what the original intention was, but it would probably be better to have both buttons in the documentation:
     14{{{
    1415        <input type = "submit" name = "post" class = "submit-post" value = "post">
    15 
    16 
    1716        <input type = "submit" name = "preview" class = "submit-preview" value = "preview">
    18 
     17}}}
    1918or at least correct the class for the preview button to submit-preview instead of submit-post.
Back to Top