diff options
author | luxagraf <sng@luxagraf> | 2021-02-22 16:53:09 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-02-22 16:53:09 -0500 |
commit | 4b8dc2a75ab713a1ae680438fb8b3171e878024e (patch) | |
tree | 1fd1f9504c48d3e2adac19452356dd0dca601e36 /design/templates | |
parent | 6185de6eb8675a567266458d1b9398a255557530 (diff) |
css: had to change method of hiding honeypot now that I am using CSP
header
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/comments/form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/comments/form.html b/design/templates/comments/form.html index be2c120..b70862f 100644 --- a/design/templates/comments/form.html +++ b/design/templates/comments/form.html @@ -10,7 +10,7 @@ {% if field.is_hidden %} {{ field }} {% else %} - <fieldset {% if field.errors %} class="error"{% endif %} {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}> + <fieldset class="{% if field.errors %} error{% endif %} {% ifequal field.name "honeypot" %} honeypot"{% endifequal %}"> {{ field.label_tag }} {%ifequal field.name "comment"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endifequal%} </fieldset> |