diff options
| -rw-r--r-- | django/contrib/comments/templates/comments/form.html | 4 | ||||
| -rw-r--r-- | django/contrib/comments/templates/comments/freeform.html | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/django/contrib/comments/templates/comments/form.html b/django/contrib/comments/templates/comments/form.html index 3e171b1e67..4a6b5fc320 100644 --- a/django/contrib/comments/templates/comments/form.html +++ b/django/contrib/comments/templates/comments/form.html @@ -28,9 +28,11 @@ <p><label for="id_comment">{% trans "Comment:" %}</label><br /> <textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p> +<p> <input type="hidden" name="options" value="{{ options }}" /> <input type="hidden" name="target" value="{{ target }}" /> <input type="hidden" name="gonzo" value="{{ hash }}" /> -<p><input type="submit" name="preview" value="{% trans "Preview comment" %}" /></p> +<input type="submit" name="preview" value="{% trans "Preview comment" %}" /> +</p> </form> {% endif %} diff --git a/django/contrib/comments/templates/comments/freeform.html b/django/contrib/comments/templates/comments/freeform.html index 99a02b4d97..f0d00b91c7 100644 --- a/django/contrib/comments/templates/comments/freeform.html +++ b/django/contrib/comments/templates/comments/freeform.html @@ -3,9 +3,11 @@ <form action="/comments/postfree/" method="post"> <p><label for="id_person_name">{% trans "Your name:" %}</label> <input type="text" id="id_person_name" name="person_name" /></p> <p><label for="id_comment">{% trans "Comment:" %}</label><br /><textarea name="comment" id="id_comment" rows="10" cols="60"></textarea></p> +<p> <input type="hidden" name="options" value="{{ options }}" /> <input type="hidden" name="target" value="{{ target }}" /> <input type="hidden" name="gonzo" value="{{ hash }}" /> -<p><input type="submit" name="preview" value="{% trans "Preview comment" %}" /></p> +<input type="submit" name="preview" value="{% trans "Preview comment" %}" /> +</p> </form> {% endif %} |
