Ticket #2283: valid_comment_form_templates.diff

File valid_comment_form_templates.diff, 1.8 KB (added by fonso, 9 years ago)
  • django/contrib/comments/templates/comments/form.html

     
    2828<p><label for="id_comment">{% trans "Comment:" %}</label><br />
    2929<textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p>
    3030
     31<p>
    3132<input type="hidden" name="options" value="{{ options }}" />
    3233<input type="hidden" name="target" value="{{ target }}" />
    3334<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>
    3537</form>
    3638{% endif %}
  • django/contrib/comments/templates/comments/freeform.html

     
    33<form action="/comments/postfree/" method="post">
    44<p><label for="id_person_name">{% trans "Your name:" %}</label> <input type="text" id="id_person_name" name="person_name" /></p>
    55<p><label for="id_comment">{% trans "Comment:" %}</label><br /><textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p>
     6
     7<p>
    68<input type="hidden" name="options" value="{{ options }}" />
    79<input type="hidden" name="target" value="{{ target }}" />
    810<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>
    1013</form>
    1114{% endif %}
Back to Top