{% extends "rentals/base.html" %} {% load rentals_extras %} {% block title %}Tenants{% endblock %} {% block content %}
| Name | Phone | Tenancies |
|---|---|---|
| {{ t.name }} | {{ t.phone }} | {% for l in t.leases.all %}{{ l.unit }} ({{ l.start_date|date:"M Y" }}{% if l.moved_out %}, moved out{% endif %}){% if not forloop.last %}; {% endif %}{% endfor %} |