                         <th>Contributors</th>
                                    <th>Accounts</th>
                                    <th>Details</th>
                                </tr>
                            </thead>
                            <tbody>
                                {% set months = {} %}
                                {% for expense in expenses %}
                                    {% set month = expense.date.strftime('%Y-%m') %}
                                    {% if mont