summaryrefslogtreecommitdiff
path: root/templates/comments/preview.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2022-02-14 21:15:36 -0500
committerluxagraf <sng@luxagraf.net>2022-02-14 21:15:36 -0500
commit337a458c4d2e06ce611fff60cb592df3bb96f88e (patch)
tree1859218a3b2fa0e18d5a10721feb7ea56f16ee4b /templates/comments/preview.html
parentb8f2cbf930eabeb055099fc9080ef55a63e3ab40 (diff)
lib: got rid of all ifequal in templates
Diffstat (limited to 'templates/comments/preview.html')
-rw-r--r--templates/comments/preview.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/comments/preview.html b/templates/comments/preview.html
index 9e27c81..b42e42d 100644
--- a/templates/comments/preview.html
+++ b/templates/comments/preview.html
@@ -29,9 +29,9 @@ class="detail"{%endblock%}
{% if field.is_hidden %}
{{ field }}
{% else %}
- <fieldset {% if field.errors %} class="error"{% endif %} {% ifequal field.name "honeypot" %} style="display:none;"{% endifequal %}>
+ <fieldset {% if field.errors %} class="error"{% endif %} {% if field.name == "honeypot" %} style="display:none;"{% endif%}>
{{ field.label_tag }}
- {%ifequal field.name "comment"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endifequal%}
+ {%if field.name == "comment"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endif%}
</fieldset>
{% endif %}
{% endfor %}