Commits

Klaus Laube committed ebae1d7

Adicionada app de honeypot aos formulários

Comments (0)

Files changed (3)

klauslaube/requirements/base.txt

 django-tagging==0.3.1
 django-simple-contact==0.0.1
 django-simple-links==0.1.0
+django-honeypot==0.3.0
 textile==2.1.5
 wsgiref==0.1.2
 

klauslaube/requirements/development.txt

 django-debug-toolbar==0.9.1
 pep8==0.6.1
 django-appconf==0.5
-django-debug-toolbar==0.9.1
 pycrypto==2.5
 ssh==1.7.13

klauslaube/templates/comments/form.html

         </p>
     {% endwith %}
 
-    {% with field=form.honeypot %}
-        <p>
-            {{ field.label_tag }}
-
-            {{ field }}
-
-            {% if field.help_text %}
-                <small class="help-text">{{ field.help_text }}</small>
-            {% endif %}
-
-            {{ field.errors }}
-        </p>
-    {% endwith %}
-
     <p>
         <input type="submit" name="submit" value="{% trans "Enviar" %}" class="button">
     </p>