<table
id="standing-card"
{% if oob %}hx-swap-oob="true"{% endif %}
class="w-full text-left table-fixed"
>
<tr>
<th class="w-2/3">Division Name</th>
<th>Points</th>
<th>Rank</th>
</tr>
{% for division in divisions %}
{% with standing=standings[division.id] %}
<tr class="odd:bg-secondary *:p-2">
<td>{{ division.name }}</td>
{% if standing %}
<td>{{ standing.points }}</td>
<td>{{ standing.rank }}</td>
{% else %}
<td></td>
<td></td>
{% endif %}
</tr>
{% endwith %}
{% endfor %}
</table>