@@ -17,17 +17,17 @@
{% set is_instructor = frappe.session.user == course.instructor %}
- {% for lesson in course.get_lessons(chapter) %}
+ {% for lesson in get_lessons(course.name, chapter) %}
-{% if index != course.get_chapters() | length %}
+{% if index != get_chapters(course.name) | length %}
{% endif %}
diff --git a/school/lms/widgets/CourseCard.html b/school/lms/widgets/CourseCard.html
index 3fccea1a..bfa80bd4 100644
--- a/school/lms/widgets/CourseCard.html
+++ b/school/lms/widgets/CourseCard.html
@@ -34,23 +34,38 @@
{{ progress }}% Completed
{% endif %}
-