20 lines
612 B
HTML
20 lines
612 B
HTML
<h2> ${ problem['name'] } </h2>
|
|
${ problem['html'] }
|
|
|
|
<input type="hidden" name="problem_id" value="${ problem['name'] }">
|
|
% if check_button:
|
|
<input id="check_${ id }" type="button" value="Check ${ attempts }" >
|
|
% endif
|
|
% if reset_button:
|
|
<input id="reset_${ id }" type="button" value="Reset ${ attempts }" >
|
|
% endif
|
|
% if save_button:
|
|
<input id="save_${ id }" type="button" value="Save" >
|
|
% endif
|
|
% if answer_available:
|
|
<input id="show_${ id }" type="button" value="Show Answer" >
|
|
% endif
|
|
% if explain :
|
|
<a href="/courseware/6.002_Spring_2012/${ explain }">[ Explanation ] </a>
|
|
% endif
|