feat: assignment submission and ui

This commit is contained in:
Jannat Patel
2022-11-18 17:05:38 +05:30
parent a4ec058a81
commit 74210245cf
25 changed files with 284 additions and 134 deletions

View File

@@ -152,7 +152,8 @@ 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, "file_type": file_type}
"templates/assignment.html",
{"question": question, "accept": accept, "file_type": file_type},
)