--- renderer-original.php 2013-01-03 23:13:57.000000000 +0100
+++ renderer.php 2013-01-03 23:09:44.000000000 +0100
@@ -322,11 +322,29 @@
protected function formulation(question_attempt $qa, qbehaviour_renderer $behaviouroutput,
qtype_renderer $qtoutput, question_display_options $options) {
$output = '';
+
+ //This script clears the answers
+ $output .= "";
+
$output .= html_writer::empty_tag('input', array(
'type' => 'hidden',
'name' => $qa->get_control_field_name('sequencecheck'),
'value' => $qa->get_num_steps()));
$output .= $qtoutput->formulation_and_controls($qa, $options);
+
+ //This button allows to clean the answers
+ $output .= "";
+
if ($options->clearwrong) {
$output .= $qtoutput->clear_wrong($qa);
}