{% comment %} The footer rows as the of a tabular inline's table, one cell per column. Rendered by the server, no JS. Override per inline with `inline_footer_tfoot_template` (e.g. a template that extends this one); format the values with `format_inline_footer_value()`. data-footer-key / data-footer-row / data-column / data-value (the number, unformatted) are there for the page's own JS. {% endcomment %} {% block tfoot %} {% for row in tfoot_rows %} {% block tfoot_row %} {% if row.label_colspan %} {% block tfoot_label %}{{ row.label }}{% endblock %} {% endif %} {% for slot in row.cells %} {% block tfoot_cell %} {% if slot.cell %} {% if slot.label_here %}{{ row.label }}{% endif %} {% block tfoot_value %}{{ slot.cell.value }}{% endblock %} {% else %} {% endif %} {% endblock tfoot_cell %} {% endfor %} {% if row.trailing %}{% endif %} {% endblock tfoot_row %} {% endfor %} {% endblock tfoot %}