{% extends 'layouts/base.html' %} {% block title %} SRCT Roomlist | Majors {% endblock title %} {% block og_metadata %} {% endblock %} {% block tw_metadata %} {% endblock tw_metadata %} {% block content %} {% include 'no_auth.html' %} {% load cache %} {% cache 900 list_majors %} {% regroup majors by first_letter as majors_by_letter %}

· {% for letter in majors_by_letter %} {{ letter.grouper }} · {% endfor %}

{% for letter in majors_by_letter %} {{ letter.grouper }}
{% for major in letter.list %} {% if forloop.counter|divisibleby:2 %}

{% endif %} {% endfor %}

{% empty %} No majors in the database. :'-( {% endfor %}
{% endcache %} {% endblock content %}