{% extends "rentals/base.html" %} {% load rentals_extras %} {% block title %}Tenants{% endblock %} {% block content %}

Tenants

Add tenant
{% for t in tenants %}{% endfor %}
NamePhoneTenancies
{{ 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 %}
{% endblock %}