templates: add templates for LMS content
Co-authored-by: Chinmay Pai <chinmaydpai@gmail.com>
diff --git a/erpnext/www/lms/course.py b/erpnext/www/lms/course.py
index 453c9c7..ff7073d 100644
--- a/erpnext/www/lms/course.py
+++ b/erpnext/www/lms/course.py
@@ -1,2 +1,8 @@
-# current_module = frappe.get_doc("Course", frappe.form_dict["lesson"])
-# current_lesson = frappe.get_doc("Lesson", frappe.form_dict["lesson"])
\ No newline at end of file
+from __future__ import unicode_literals
+import frappe
+
+
+def get_context(context):
+ context.current_course = frappe.get_doc("Course", frappe.form_dict["course"])
+ context.current_content = frappe.get_doc("Content", frappe.form_dict["content"])
+ next_content = get_next_content()
\ No newline at end of file