Commit 7382899b authored by Daniel W Bond's avatar Daniel W Bond

created template snippet for rendering two majors

parent 6d3d50bc
{% if student.major.all|length > 0 %}
<a href="{{ student.major.all.0.get_absolute_url }}">
{{ student.major.all.0.name }}</a>
{% if student.major.all|length == 2 %}
&<a href="{{ student.major.all.1.get_absolute_url }}">
{{ student.major.all.1.name }}</a>
{% endif %}
{% else %}
&nbsp;&mdash;
{% endif %}
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