newsletters: adapt 1.8 compatibility fix for some corbo responses (#22069)

This commit is contained in:
Frédéric Péters 2018-02-23 08:18:05 +01:00
parent c4f9dde66e
commit 1e33fe9910
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@
<td>{{ field.label }}</td>
{% for id, theme in form.themes %}<td data-id="{{ id }}">
{% for w in field %}
{% with choice_value=w.data.value|default:w.choice_value %}
{% if choice_value == id %}{{ w }}{% endif %}
{% with choice_value=w.data.value choice_value18=w.choice_value %}
{% if choice_value == id or choice_value18 == id %}{{ w }}{% endif %}
{% endwith %}
{% endfor %}
</td>