{% extends "base.html" %} {% block content %}

Tenants

Add Tenant
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}
{% for item in tenant_data %} {% endfor %}
Name Unit Status Actions
{{ item.user.get_full_name }} {% if item.profile and item.profile.unit %} {{ item.profile.unit }} {% else %} None {% endif %} {% if item.rent_status == "Paid" %} Paid {% else %} Unpaid {% endif %} View {% if item.profile %} {% if not item.profile.unit %} Add to Unit {% endif %} {% else %} {% endif %}
{% endblock %}