diff options
Diffstat (limited to 'templates/comments/form.html')
-rw-r--r-- | templates/comments/form.html | 4 |
1 files changed, 2 insertions, 2 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 %} |