[% FOR a IN attackers %]
<tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
<td><input type="button" onclick="$('#attacker[% a.id %]').toggle()" value="⇓" title="Show fleets"></td>
[% FOR a IN attackers %]
<tr class="[% loop.count % 2 == 0 ? 'even' : 'odd' %]">
<td><input type="button" onclick="$('#attacker[% a.id %]').toggle()" value="⇓" title="Show fleets"></td>