MDL-53476 tool_lp: All forms should at least have one fieldset
This commit is contained in:
committed by
Frederic Massart
parent
1f58618863
commit
286a609ff0
@@ -50,6 +50,8 @@ class plan extends persistent {
|
||||
$mform->setType('userid', PARAM_INT);
|
||||
$mform->setConstant('userid', $this->_customdata['userid']);
|
||||
|
||||
$mform->addElement('header', 'generalhdr', get_string('general'));
|
||||
|
||||
$mform->addElement('text', 'name', get_string('planname', 'tool_lp'));
|
||||
$mform->setType('name', PARAM_TEXT);
|
||||
$mform->addRule('name', null, 'required', null, 'client');
|
||||
|
||||
Reference in New Issue
Block a user