<%page expression_filter="h"/> <%! from django.utils.translation import ngettext, gettext as _ from openedx.core.djangolib.markup import HTML %> <%namespace name='static' file='static_content.html'/>

${ problem['name'] }

${ HTML(problem['html']) }
% if demand_hint_possible: % endif % if save_button: % endif % if reset_button: % endif % if answer_available: % endif
% if submit_disabled_cta: % if submit_disabled_cta.get('event_data'): (${submit_disabled_cta['description']}) % else:
% for form_name, form_value in submit_disabled_cta['form_values'].items(): % endfor (${submit_disabled_cta['description']})
% endif % endif
## When attempts are not 0, the CTA above will contain a message about the number of used attempts % if attempts_allowed and (not submit_disabled_cta or attempts_used == 0): ${ngettext("You have used {num_used} of {num_total} attempt", "You have used {num_used} of {num_total} attempts", attempts_allowed).format(num_used=attempts_used, num_total=attempts_allowed)} % endif ${_("Some problems have options such as save, reset, hints, or show answer. These options follow the Submit button.")}