{% extends 'layouts/base.html' %} {% block title %} SRCT Roomlist | Majors | {{ major.name }} {% endblock title %} {% block content %} {% 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 %}
{% endblock content %}