Update move page twig syntax (broken page)

This commit is contained in:
towards-a-new-leftypol 2023-11-03 09:33:31 -04:00
parent f9e8390451
commit e92fc0ab2c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<th>{% trans 'Target board' %}</th>
<td>
<ul style="list-style:none;padding:0">
{% for targetboard in boards if targetboard.uri != board %}
{% for targetboard in boards|filter(b => b.uri != board.uri) %}
<li>
<input type="radio" name="board" value="{{ targetboard.uri }}" id="ban-board-{{ targetboard.uri }}" {% if boards|count == 2 %}checked{% endif %}>
<label style="display:inline" for="ban-board-{{ targetboard.uri }}">