Group description in CMSFields

This commit is contained in:
Marvin Dickhaus 2013-04-14 16:45:13 +03:00 committed by Ingo Schommer
parent 59dc0085d8
commit ea558828c9

View File

@ -69,7 +69,8 @@ class Group extends DataObject {
$parentidfield = DropdownField::create( 'ParentID',
$this->fieldLabel('Parent'),
Group::get()->exclude('ID', $this->ID)->map('ID', 'Breadcrumbs')
)->setEmptyString(' ')
)->setEmptyString(' '),
new TextareaField('Description', $this->fieldLabel('Description'))
),
$permissionsTab = new Tab('Permissions', _t('SecurityAdmin.PERMISSIONS', 'Permissions'),