Source

DJFacet / demoproject / mytemplates / djfacet / religions / religions_table.html

<table class="simple headersX">
    <tbody>
        <tr>
			<th>ID</th>
	        <th>Name</th>
		    <th>TOT. Number of Related Countries</th>
        </tr>
		{% for record in items.object_list %}
		<tr>
			<td>{{record.id}}</td>
	        <td><a href="?resulttype={{result_typeObj.uniquename}}&amp;item={{record.id}}{{newurl_stub}}" title="show details">
				{{record|capfirst|default:"<i>item empty (check DB for deletion)</i>"}}
		    	</a></td>
			<td>{{ record.country_set.all|length }}</td>
      	</tr>
		{% endfor %}

    </tbody>


</table>