{% load i18n %} <table class="transaction-table"> <tr> <th>{% trans 'attribute' %}</th> <th>{% trans 'before' %}</th> <th>{% trans 'after' %}</th> </tr> {% include "history_row.html" with rows=table.rows %} {% for header, inflection_rows in table.inflection_tables %} <tr> <th colspan="3" class="inflection-header">{% trans 'inflection' %} {{ header }}:</th> </tr> {% include "history_row.html" with rows=inflection_rows %} {% endfor %} </table>