mirror of
https://github.com/frappe/lms.git
synced 2026-05-01 05:09:27 +03:00
feat: student progress
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ def assignment_renderer(detail):
|
||||
file_type = detail.split("-")[1]
|
||||
accept = supported_types[file_type] if file_type else ""
|
||||
return frappe.render_template(
|
||||
"templates/assignment.html", {"question": question, "accept": accept}
|
||||
"templates/assignment.html", {"question": question, "accept": accept, "file_type": file_type}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user