Fix html display

This commit is contained in:
Vik Paruchuri
2013-01-04 13:30:33 -05:00
parent 6a5352620c
commit c04455c546
2 changed files with 9 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
<section id="openended_${id}" class="open-ended-child" data-state="${state}">
${prompt|n}
<textarea rows="${rows}" cols="${cols}" name="input_${id}" class="short-form-response" id="input_${id}"
% if hidden:
style="display:none;"
% endif
>${value|h}</textarea>
>${previous_answer|h}</textarea>
<div class="grader-status">
% if state == 'initial':
@@ -21,14 +22,16 @@
% endif
</div>
<input type="button" value="Submit" class="submit-button" name="show"/>
<span id="answer_${id}"></span>
% if status == 'queued':
% if state == 'assessing':
<input name="reload" class="reload" type="button" value="Recheck for Feedback" onclick="document.location.reload(true);" />
% endif
<div class="external-grader-message">
${msg|n}
% if status in ['correct','incorrect']:
% if state == 'done':
<div class="collapsible evaluation-response">
<header>
<a href="#">Respond to Feedback</a>