{% for g in groups -%}
<span class="group-total" id="group-total-{{ g.group.value }}" hx-swap-oob="outerHTML">
  <span class="applied">${{ '%.2f' | format(g.total_applied) }}</span>
  <span class="divider">/</span>
  <span class="planned">${{ '%.2f' | format(g.total_planned) }}</span>
</span>
{% endfor -%}
