diff --git a/django_comments/templates/comments/form.html b/django_comments/templates/comments/form.html index 939f7e1316cc2a1f38aa8f07e0d90cf5526bed4c..f80e6ef4edac2eda4386d25f4789bfeb5f6aa857 100644 --- a/django_comments/templates/comments/form.html +++ b/django_comments/templates/comments/form.html @@ -9,7 +9,7 @@ {% if field.errors %}{{ field.errors }}{% endif %} <p {% if field.errors %} class="error"{% endif %} - {% if field.name == "honeypot" %} style="display:none;"{% endif %}> + {% if field.name == "honeypot" %} hidden {% endif %}> {{ field.label_tag }} {{ field }} </p> {% endif %} diff --git a/django_comments/templates/comments/preview.html b/django_comments/templates/comments/preview.html index b358dbc8db4a85d32ebc56bb0bab90f25d28de80..1432593f44086e95428a94c4dc27dacd2e5f8c8c 100644 --- a/django_comments/templates/comments/preview.html +++ b/django_comments/templates/comments/preview.html @@ -27,7 +27,7 @@ {% if field.errors %}{{ field.errors }}{% endif %} <p {% if field.errors %} class="error"{% endif %} - {% if field.name == "honeypot" %} style="display:none;"{% endif %}> + {% if field.name == "honeypot" %} hidden {% endif %}> {{ field.label_tag }} {{ field }} </p> {% endif %}