<table id="table_categories_previous_period" class="table">
    <thead>
    <tr class="tabletitle">
	<th align="center">{{ report.categories_previous_period.0.1 }}</th>
	<th align="center">{{ report.categories_previous_period.0.2 }}</th>
    </tr>
    </thead>
    <tbody>    
{% for item in report.categories_previous_period %}
    {% if forloop.first %}
    {% else %}    
	<tr{% if item.0 %} class="tabletotal" {% endif %}>
	    <td>{{ forloop.counter0 }}: {{ item.1 }}</td>
	    <td align="right">{{ item.2|money|safe }}</td>
	</tr>
    {% endif %}        
{% endfor %}     
    </tbody>
</table>   