#8905: Error in default comment preview template
-------------------------------------+--------------------------------------
 Reporter:  Uninen                   |       Owner:  nobody    
   Status:  new                      |   Milestone:  post-1.0  
Component:  django.contrib.comments  |     Version:  1.0       
 Keywords:  comments, templates      |       Stage:  Unreviewed
Has_patch:  0                        |  
-------------------------------------+--------------------------------------
 In {{{django/contrib/comments/templates/comments/preview.html}}} row 31
 name attribute of the submit button is wrong. The name should be 'preview'
 not 'submit'. This makes preview template to submit the comment every time
 no matter which button is used.

 Correct HTML for the preview button:

 {{{
 <input type="submit" name="preview" class="submit-preview"
 value="Preview">
 }}}

 Also, most of the texts in the default comment templates are not marked as
 translatable, but that is a matter of another ticket.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8905>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to