Ticket #2283: valid_comment_form_templates.diff
File valid_comment_form_templates.diff, 1.8 KB (added by , 18 years ago) |
---|
-
django/contrib/comments/templates/comments/form.html
28 28 <p><label for="id_comment">{% trans "Comment:" %}</label><br /> 29 29 <textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p> 30 30 31 <p> 31 32 <input type="hidden" name="options" value="{{ options }}" /> 32 33 <input type="hidden" name="target" value="{{ target }}" /> 33 34 <input type="hidden" name="gonzo" value="{{ hash }}" /> 34 <p><input type="submit" name="preview" value="{% trans "Preview comment" %}" /></p> 35 <input type="submit" name="preview" value="{% trans "Preview comment" %}" /> 36 </p> 35 37 </form> 36 38 {% endif %} -
django/contrib/comments/templates/comments/freeform.html
3 3 <form action="/comments/postfree/" method="post"> 4 4 <p><label for="id_person_name">{% trans "Your name:" %}</label> <input type="text" id="id_person_name" name="person_name" /></p> 5 5 <p><label for="id_comment">{% trans "Comment:" %}</label><br /><textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p> 6 7 <p> 6 8 <input type="hidden" name="options" value="{{ options }}" /> 7 9 <input type="hidden" name="target" value="{{ target }}" /> 8 10 <input type="hidden" name="gonzo" value="{{ hash }}" /> 9 <p><input type="submit" name="preview" value="{% trans "Preview comment" %}" /></p> 11 <input type="submit" name="preview" value="{% trans "Preview comment" %}" /> 12 </p> 10 13 </form> 11 14 {% endif %}