diff options
author | luxagraf <sng@luxagraf.net> | 2022-02-14 21:08:09 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-02-14 21:08:09 -0500 |
commit | 3c3365cc508e30d300a1781717b692c0f635dc63 (patch) | |
tree | 3aca8fc19cde1d37c9317ca2e000663d5c61559d /app/lib/django_comments/templates | |
parent | 5383c565c0a3177330b41190483100707aa436a1 (diff) |
lib: fixed another django 4 bug
Diffstat (limited to 'app/lib/django_comments/templates')
-rw-r--r-- | app/lib/django_comments/templates/comments/form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/django_comments/templates/comments/form.html b/app/lib/django_comments/templates/comments/form.html index 858d5eb..939f7e1 100644 --- a/app/lib/django_comments/templates/comments/form.html +++ b/app/lib/django_comments/templates/comments/form.html @@ -9,7 +9,7 @@ {% if field.errors %}{{ field.errors }}{% endif %} <p {% if field.errors %} class="error"{% endif %} - {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> + {% if field.name == "honeypot" %} style="display:none;"{% endif %}> {{ field.label_tag }} {{ field }} </p> {% endif %} |