feat: student progress

This commit is contained in:
Jannat Patel
2022-11-16 18:43:10 +05:30
parent ae2c15fe8c
commit a4ec058a81
11 changed files with 211 additions and 50 deletions

View File

@@ -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}
)