From 47636365ea920021805db4acc7794dd19bd9ed6c Mon Sep 17 00:00:00 2001 From: "H. Cole Wiley" Date: Thu, 19 Apr 2012 13:10:59 -0500 Subject: [PATCH] added in coursesRequired. --- templates/college/major.html | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/templates/college/major.html b/templates/college/major.html index 704a36c..10672a5 100644 --- a/templates/college/major.html +++ b/templates/college/major.html @@ -1,14 +1,25 @@ {% extends base_template %} {% block center %}

{{ major }}

-

degree type: {{ major.degree_type }}

- -
  • - College : {{ major.college }} -
  • -{% if major.department %} - -
  • - Department : {{ major.department }} -
  • -{% endif %} -{% endblock %} \ No newline at end of file +

    + degree type: {{ major.degree_type }} +

    +
    + +
  • + College : {{ major.college }} +
  • + {% if major.department %} + +
  • + Department : {{ major.department }} +
  • + {% endif %} +
    +
    + {% for course in major.coursesRequired.all %} + +
  • + {{ course.title }} +
  • {% endfor %} +
    +{% endblock %}