From 337a458c4d2e06ce611fff60cb592df3bb96f88e Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 14 Feb 2022 21:15:36 -0500 Subject: lib: got rid of all ifequal in templates --- templates/comments/form.html | 4 ++-- templates/comments/preview.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/comments') 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 %} -
+
{{ field.label_tag }} - {%ifequal field.name "comment"%}
{{ field }}
{%else%}{{field}}{%endifequal%} + {%if field.name == "comment"%}
{{ field }}
{%else%}{{field}}{%endif%}
{% 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 %} -