{% 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 %}

Welcome to the Geriatrics Database, where you can store resident profiles and other related information.


{% if building_list %}

Resident census by building:

{% for building in building_list %} {{ building }} {{ building.resident_set.count }} {% endfor %} {% endif %}
{% else %}

Please login

{% endif %} {% endblock %}