Merge pull request #1955 from willmorgan/patch-2

FIX allow children to be accessed via template
This commit is contained in:
Ingo Schommer 2013-05-20 00:12:08 -07:00
commit e48cdb676b

View File

@ -145,6 +145,14 @@ class ConfirmedPasswordField extends FormField {
return $content;
}
/**
* Returns the children of this field for use in templating.
* @return FieldList
*/
public function getChildren() {
return $this->children;
}
/**
* Can be empty is a flag that turns on/off empty field checking.
* For example, set this to false (the default) when creating a user account,