mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
added comments to show how to add nested fieldset container for groups of items
This commit is contained in:
parent
42f248e659
commit
ef625b6bac
@ -17,6 +17,9 @@ class moodleform_group extends HTML_QuickForm_group{
|
||||
* @var string
|
||||
*/
|
||||
var $_helpbutton='';
|
||||
var $_elementTemplateType='default';
|
||||
//would cause problems with client side validation so will leave for now
|
||||
//var $_elementTemplateType='fieldset';
|
||||
/**
|
||||
* set html for help button
|
||||
*
|
||||
@ -44,4 +47,7 @@ class moodleform_group extends HTML_QuickForm_group{
|
||||
function getHelpButton(){
|
||||
return $this->_helpbutton;
|
||||
}
|
||||
function getElementTemplateType(){
|
||||
return $this->_elementTemplateType;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user