{% for ta in node.ta_1.all %}
{{ ta.first_name }}
{% endfor %}
{% for lab in node.lab_1.all %}
(CS {{lab.catalog_id}}-{{lab.section}})
{% endfor %}
{% for ta in node.ta_2.all %}
{{ ta.first_name }}
{% endfor %}
{% for lab in node.lab_2.all %}
(CS {{lab.catalog_id}}-{{lab.section}})
{% endfor %}