Ticket #8855: comments-form.html.diff
File comments-form.html.diff, 983 bytes (added by , 16 years ago) |
---|
-
django/contrib/comments/templates/comments/form.html
1 1 {% load comments %} 2 <form action="{% comment_form_target %}" method="POST"> 2 {% load i18n %} 3 <form action="{% comment_form_target %}" method="post"> 3 4 {% for field in form %} 4 5 {% if field.is_hidden %} 5 6 {{ field }} … … 13 14 {% endif %} 14 15 {% endfor %} 15 16 <p class="submit"> 16 <input type="submit" name="submit" class="submit-post" value=" Post">17 <input type="submit" name="submit" class="submit-preview" value=" Preview">17 <input type="submit" name="submit" class="submit-post" value="{% trans "Post" %}" /> 18 <input type="submit" name="submit" class="submit-preview" value="{% trans "Preview" %}" /> 18 19 </p> 19 </form> 20 No newline at end of file 20 </form>