{# An editable pivot (components/pivot.py). One form; every box posts what it holds, so the form is the state of the grid. Each input is named by its row and column key and labelled by both headings (aria-labelledby). #} {# A total: a PivotCell whose value is a slot. Its own tone wins over the column's, as for an input cell. #} {% macro total_cell(t, column=none, extra_class="") -%} {%- set tone = t.tone or (column.tone if column else none) -%}