{% extends 'cm_portal/index.html' %} {% block title %}| Geriatric Section{% endblock %} {% load static %} {% block navbar %} {% include 'includes/nav_geria.html' %} {% endblock %} {% block sidebar %} {% if user.is_authenticated %} {% include 'includes/user.html' %} {% endif %} {% include 'includes/geria_sidebar.html' %} {% endblock %} {% block page_title %}| Geriatric Section{% endblock %} {% block content %} {% if user.is_authenticated %}
Resident census by building:
{% for building in building_list %} {{ building }} {{ building.resident_set.count }} {% endfor %} {% endif %}Please login
{% endif %} {% endblock %}