{% extends "base.html" %} {% load static from staticfiles %} {% load bootstrap %} {% block content %}
{% if user.is_superuser %}
{% endif %}

{{ page_name }}


{% if not rooms %}
No rooms in database.
{% else %} {% for room in rooms %} {% endfor %}
Title Unofficial Name Max Occupancy Residents
{{ room.title }} {% if room.unofficial_name %}{{ room.unofficial_name }}{% endif %} {{ room.occupancy }} {% for person in room.current_residents.all %} {% if not forloop.first %}, {% endif %} {{ person.get_full }} {% endfor %}
{% endif %} {% endblock %} {% block endscripts %} {% endblock %}