mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-38359 assign: Set header field name so it works with shortforms
Two forms were adding headers with empty names - fixed.
This commit is contained in:
parent
bb6471aa88
commit
52fdb0582a
@ -42,7 +42,7 @@ class mod_assign_batch_set_allocatedmarker_form extends moodleform {
|
||||
$mform = $this->_form;
|
||||
$params = $this->_customdata;
|
||||
|
||||
$mform->addElement('header', '', get_string('batchsetallocatedmarker', 'assign', count($params['users'])));
|
||||
$mform->addElement('header', 'general', get_string('batchsetallocatedmarker', 'assign', count($params['users'])));
|
||||
$mform->addElement('static', 'userslist', get_string('selectedusers', 'assign'), $params['usershtml']);
|
||||
|
||||
$options = $params['markers'];
|
||||
|
@ -42,7 +42,7 @@ class mod_assign_batch_set_marking_workflow_state_form extends moodleform {
|
||||
$mform = $this->_form;
|
||||
$params = $this->_customdata;
|
||||
|
||||
$mform->addElement('header', '', get_string('batchsetmarkingworkflowstateforusers', 'assign', count($params['users'])));
|
||||
$mform->addElement('header', 'general', get_string('batchsetmarkingworkflowstateforusers', 'assign', count($params['users'])));
|
||||
$mform->addElement('static', 'userslist', get_string('selectedusers', 'assign'), $params['usershtml']);
|
||||
|
||||
$options = $params['markingworkflowstates'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user