feat: lesson edit page

This commit is contained in:
Jannat Patel
2023-04-27 10:20:50 +05:30
parent fcdd70dcc7
commit 7777bd02e3
15 changed files with 504 additions and 262 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ def get_context(context):
chapter_index = frappe.form_dict.get("chapter")
lesson_index = frappe.form_dict.get("lesson")
lesson_number = f"{chapter_index}.{lesson_index}"
context.lesson = get_current_lesson_details(lesson_number, context)
context.lesson = get_current_lesson_details(lesson_number, context, True)