enforce display name in CAPA problems

FEDX-198
This commit is contained in:
muhammad-ammar
2016-06-06 16:27:58 +05:00
parent 849e3b7911
commit 8024bae255
4 changed files with 48 additions and 3 deletions

View File

@@ -1,4 +1,8 @@
<%! from django.utils.translation import ugettext as _ %>
<%page expression_filter="h"/>
<%!
from django.utils.translation import ugettext as _
from openedx.core.djangolib.markup import HTML
%>
<%namespace name='static' file='static_content.html'/>
<h3 class="hd hd-2 problem-header">
@@ -9,7 +13,7 @@
<div class="problem">
<div aria-live="polite">
${ problem['html'] }
${ HTML(problem['html']) }
</div>
<div class="action">
<input type="hidden" name="problem_id" value="${ problem['name'] }" />