mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-57199 question preview: make HTML ids unique
This commit is contained in:
parent
a0352aa95e
commit
29034c3eb3
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ class preview_options_form extends moodleform {
|
|||
question_display_options::VISIBLE => get_string('shown', 'question'),
|
||||
);
|
||||
|
||||
$mform->addElement('header', 'optionsheader', get_string('attemptoptions', 'question'));
|
||||
$mform->addElement('header', 'attemptoptionsheader', get_string('attemptoptions', 'question'));
|
||||
|
||||
$behaviours = question_engine::get_behaviour_options(
|
||||
$this->_customdata['quba']->get_preferred_behaviour());
|
||||
|
@ -66,7 +66,7 @@ class preview_options_form extends moodleform {
|
|||
$mform->addElement('submit', 'saverestart',
|
||||
get_string('restartwiththeseoptions', 'question'));
|
||||
|
||||
$mform->addElement('header', 'optionsheader', get_string('displayoptions', 'question'));
|
||||
$mform->addElement('header', 'displayoptionsheader', get_string('displayoptions', 'question'));
|
||||
|
||||
$mform->addElement('select', 'correctness', get_string('whethercorrect', 'question'),
|
||||
$hiddenofvisible);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue