Commit c8c192cc authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added list of majors' letters across the top of list_major page as links

parent 136b1ad4
......@@ -13,9 +13,19 @@
</div>
</div>
{% regroup majors by first_letter as majors_by_letter %}
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center"><h3>
&middot;
{% for letter in majors_by_letter %}
<a href="#{{ letter.grouper }}">{{ letter.grouper }}</a> &middot;
{% endfor %}
</h3></div>
</div>
<div class="row">
<div class="col-md-10 col-md-offset-1">
{% regroup majors by first_letter as majors_by_letter %}
{% for letter in majors_by_letter %}
<legend><a name="{{ letter.grouper }}" href="#{{ letter.grouper }}">{{ letter.grouper }}</a></legend>
<div class="row">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment