mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Update Group.php
This commit is contained in:
parent
a976a1688b
commit
9b7075ed5d
@ -125,7 +125,6 @@ class Group extends DataObject
|
||||
*/
|
||||
public function getCMSFields()
|
||||
{
|
||||
$groups = $this->getDecodedBreadcrumbs();
|
||||
$fields = new FieldList(
|
||||
new TabSet(
|
||||
"Root",
|
||||
@ -136,7 +135,7 @@ class Group extends DataObject
|
||||
$parentidfield = DropdownField::create(
|
||||
'ParentID',
|
||||
$this->fieldLabel('Parent'),
|
||||
$groups
|
||||
$this->getDecodedBreadcrumbs()
|
||||
)->setEmptyString(' '),
|
||||
new TextareaField('Description', $this->fieldLabel('Description'))
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user