Merge pull request #1955 from willmorgan/patch-2
FIX allow children to be accessed via template
This commit is contained in:
commit
e48cdb676b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue