fix: checkbox for terms of use
This commit is contained in:
@@ -122,6 +122,6 @@ def video_renderer(src):
|
||||
return "<video controls width='100%'><source src={0} type='video/mp4'></video>".format(src)
|
||||
|
||||
def show_custom_signup():
|
||||
if frappe.db.get_single_value("LMS Settings", "verify_age"):
|
||||
if frappe.db.get_single_value("LMS Settings", "terms_of_use"):
|
||||
return "school/templates/signup-form.html"
|
||||
return None
|
||||
return "frappe/templates/signup.html"
|
||||
|
||||
Reference in New Issue
Block a user