summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/comments/form.html4
-rw-r--r--templates/comments/preview.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/comments/form.html b/templates/comments/form.html
index b70862f..129de90 100644
--- a/templates/comments/form.html
+++ b/templates/comments/form.html
@@ -10,9 +10,9 @@
{% if field.is_hidden %}
{{ field }}
{% else %}
- <fieldset class="{% if field.errors %} error{% endif %} {% ifequal field.name "honeypot" %} honeypot"{% endifequal %}">
+ <fieldset class="{% if field.errors %} error{% endif %} {% if field.name == "honeypot" %} honeypot"{% 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 %}
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 %}