feat: student progress
This commit is contained in:
@@ -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