summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/addteacher.html2
-rw-r--r--yaksh/templates/yaksh/course_detail.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html
index 0ebbbbd..39535bc 100644
--- a/yaksh/templates/yaksh/addteacher.html
+++ b/yaksh/templates/yaksh/addteacher.html
@@ -21,7 +21,7 @@
<form action="{{ URL_ROOT }}/exam/manage/addteacher/{{ course.id }}/" method="post">
{% csrf_token %}
{% if success == True %}
- {% if teachers|length == 1 or teachers|length == 0%}
+ {% if teachers|length == 1 or teachers|length == 0 %}
<center><h3>No results found</h3></center>
{% else %}
<center><b><u>Search Results</u></b></center><br>
diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html
index 44fab21..ccb3a10 100644
--- a/yaksh/templates/yaksh/course_detail.html
+++ b/yaksh/templates/yaksh/course_detail.html
@@ -2,7 +2,7 @@
{% block title %} Course {% endblock title %}
-{% block subtitle %} {{ course.name }} {% endblock %}
+{% block subtitle %} {% for course in courses %}{{ course.name }}{% endfor %} {% endblock %}
{% block css %}
<link rel="stylesheet" media="all" type="text/css" href="{{ URL_ROOT }}/static/yaksh/css/course.css" />