Source

django-pim / pcbank / templates / pcbank / bill_list.html

{% extends "pcbank/base.html" %}

{% block body %}
<h2>Bills</h2>
<table class="table">
<thead>
<tr><th>Payee</th><th>Amount</th><th>Due Date</th></tr>
</thead><tbody>
{% for bill in object_list %}
<tr><td><a href="{{bill.payee.get_absolute_url}}">{{bill.payee.title}}</a></td><td><a href="{{bill.get_absolute_url}}">${{bill.amount|floatformat:2}}</a></td><td>{{bill.payee.due_date}}</td></tr>
{% endfor %}
</tbody></table>
{% endblock %}