diff --git a/cms/templates/widgets/problem-edit.html b/cms/templates/widgets/problem-edit.html index 6611a04ebf..5c3190d0e0 100644 --- a/cms/templates/widgets/problem-edit.html +++ b/cms/templates/widgets/problem-edit.html @@ -1,7 +1,13 @@ <%! from django.utils.translation import ugettext as _ %> <%namespace name='static' file='../static_content.html'/> +<% isLaTexProblem='source_code' in editable_metadata_fields and editable_metadata_fields['source_code']['explicitly_set'] and enable_latex_compiler %> + +% if isLaTexProblem: +