mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
MDL-31102 question preview: fix HTML validation errors.
This commit is contained in:
parent
92a5f438a7
commit
425342ced4
@ -228,8 +228,10 @@ echo $OUTPUT->header();
|
||||
// Start the question form.
|
||||
echo '<form method="post" action="' . $actionurl .
|
||||
'" enctype="multipart/form-data" id="responseform">', "\n";
|
||||
echo '<div>';
|
||||
echo '<input type="hidden" name="sesskey" value="' . sesskey() . '" />', "\n";
|
||||
echo '<input type="hidden" name="slots" value="' . $slot . '" />', "\n";
|
||||
echo '</div>';
|
||||
|
||||
// Output the question.
|
||||
echo $quba->render_question($slot, $options, $displaynumber);
|
||||
|
@ -89,7 +89,7 @@ class preview_options_form extends moodleform {
|
||||
get_string('responsehistory', 'question'), $hiddenofvisible);
|
||||
|
||||
$mform->addElement('submit', 'submit',
|
||||
get_string('restartwiththeseoptions', 'question'), $hiddenofvisible);
|
||||
get_string('restartwiththeseoptions', 'question'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user