Skip to content
Snippets Groups Projects
Commit 2b209ee4 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

GH-962: modernise ifequal

parent 1b1a3261
No related merge requests found
...@@ -23,11 +23,11 @@ ...@@ -23,11 +23,11 @@
<tr class="reviews-list__tr"> <tr class="reviews-list__tr">
<th class="reviews-list__th">{{ answers.question }}</th> <th class="reviews-list__th">{{ answers.question }}</th>
{% for answer in answers.answers %} {% for answer in answers.answers %}
{% ifequal answers.question "Opinions" %} {% if answers.question == "Opinions" %}
<td class="reviews-list__td">{{ answer }}</td> <td class="reviews-list__td">{{ answer }}</td>
{% else %} {% else %}
<td class="reviews-list__td">{{ answer|bleach }}</td> <td class="reviews-list__td">{{ answer|bleach }}</td>
{% endifequal %} {% endif %}
{% endfor %} {% endfor %}
</tr> </tr>
{% endfor %} {% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment