diff --git a/lms/templates/problem.html b/lms/templates/problem.html index b785e4aa68..e239c32cd2 100644 --- a/lms/templates/problem.html +++ b/lms/templates/problem.html @@ -68,7 +68,8 @@ from openedx.core.djangolib.markup import HTML, Text (${submit_disabled_cta['description']}) % else: -
+ + % if submit_disabled_cta.get('link'): % for form_name, form_value in submit_disabled_cta['form_values'].items(): @@ -76,13 +77,14 @@ from openedx.core.djangolib.markup import HTML, Text - - + % endif + + - (${submit_disabled_cta['description']}) - + + (${submit_disabled_cta['description']}) + % endif % endif
diff --git a/lms/templates/vert_module.html b/lms/templates/vert_module.html index 0e52e3c7f4..7df5b8b5b4 100644 --- a/lms/templates/vert_module.html +++ b/lms/templates/vert_module.html @@ -44,7 +44,7 @@ from openedx.core.djangolib.markup import HTML - % else: + % elif vertical_banner_cta.get('link'):