summaryrefslogtreecommitdiff
path: root/build/lib.linux-i686-2.6/objectapp/templates/comments/objectapp/gbobject/form.html
diff options
context:
space:
mode:
authorAnuja <anujag@anujag-Latitude-D630.(none)>2012-03-21 17:34:34 +0530
committerAnuja <anujag@anujag-Latitude-D630.(none)>2012-03-21 17:34:34 +0530
commit874fceac6498f2ba733c433b964f9ce5975d6a69 (patch)
treeaee7c168a44287d5b8ec22582d654b970eb6108e /build/lib.linux-i686-2.6/objectapp/templates/comments/objectapp/gbobject/form.html
parent9d76c138b63828b549b33fe1b9a8ad4ab3dd8d86 (diff)
downloadgnowsys-874fceac6498f2ba733c433b964f9ce5975d6a69.tar.gz
Changes made on model files and search files
Diffstat (limited to 'build/lib.linux-i686-2.6/objectapp/templates/comments/objectapp/gbobject/form.html')
-rw-r--r--build/lib.linux-i686-2.6/objectapp/templates/comments/objectapp/gbobject/form.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/build/lib.linux-i686-2.6/objectapp/templates/comments/objectapp/gbobject/form.html b/build/lib.linux-i686-2.6/objectapp/templates/comments/objectapp/gbobject/form.html
new file mode 100644
index 00000000..a61758db
--- /dev/null
+++ b/build/lib.linux-i686-2.6/objectapp/templates/comments/objectapp/gbobject/form.html
@@ -0,0 +1,22 @@
+{% load comments i18n %}
+
+<form action="{% comment_form_target %}" method="post">
+ {% csrf_token %}
+ <fieldset>
+ <input type="hidden" name="next" value="{% url objectapp_discussion_success %}"/>
+ <legend>{% trans "Post your comment" %}</legend>
+ {% for field in form %}
+ {% if field.is_hidden %}{{ field }}{% else %}
+ <div{% if field.errors %} class="error"{% endif %}{% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
+ {{ field.label_tag }}
+ {% if field.errors %}{{ field.errors }}{% else %}<br />{% endif %}
+ {{ field }}
+ </div>
+ {% endif %}
+ {% endfor %}
+ <p class="submit">
+ <input type="submit" name="submit" class="submit-post" value="{% trans "Post" %}" />
+ <input type="submit" name="preview" class="submit-preview" value="{% trans "Preview" %}" />
+ </p>
+ </fieldset>
+</form>