{% load brickwork_components brickwork_icons %} {% comment %} Comparison table (icvoss/django-brickwork#626): a column-by-capability matrix. Structural sibling of marketing _pricing_table.html (tier cards), not a layout option on it: real tabular data belongs in a
| Capability | {% for plan in plans %} {% with idx=forloop.counter0 idx_s=forloop.counter0|stringformat:"d" %}{{ plan }}{% if highlighted == idx or highlighted == idx_s or highlighted == plan %} ({{ hl_label }}){% endif %} | {% endwith %} {% endfor %}
|---|---|
| {{ row.label }} | {% for cell in row.cells %} {% with idx=forloop.counter0 idx_s=forloop.counter0|stringformat:"d" %}{% if cell.included is True %} {% bw_icon "check" size="sm" decorative=True css_class="bw-comparison-table__yes" %} Included {% elif cell.included is False %} {% bw_icon "minus" size="sm" decorative=True css_class="bw-comparison-table__no" %} Not included {% else %} {{ cell }} {% endif %} | {% endwith %} {% endfor %}
{{ note }}
{% endif %}