fix: upload image component in lesson web form

This commit is contained in:
Jannat Patel
2022-04-22 12:22:25 +05:30
parent 81fb664ad9
commit f34519e3ff
5 changed files with 120 additions and 10 deletions

View File

@@ -142,6 +142,3 @@ def show_custom_signup():
or frappe.db.get_single_value("LMS Settings", "privacy_policy")):
return "lms/templates/signup-form.html"
return "frappe/templates/signup.html"
def image_renderer(src);
return f"<img src={src}>"