|
|
@@ -34,7 +34,7 @@ use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\RawSection;
|
|
|
*/
|
|
|
class AddRessourceForm extends SortedFieldForm implements ClientArea
|
|
|
{
|
|
|
-// use FormExtendedTrait;
|
|
|
+ use FormExtendedTrait;
|
|
|
|
|
|
protected $id = 'addRessourceForm';
|
|
|
protected $name = 'addRessourceForm';
|
|
|
@@ -57,14 +57,9 @@ class AddRessourceForm extends SortedFieldForm implements ClientArea
|
|
|
$email->addInputComponent((new InputGroupElements\Text('domain'))->addHtmlAttribute('readonly','true'));
|
|
|
$this->addSection($email);
|
|
|
|
|
|
- $desc = new InputGroup('descGroup');
|
|
|
- $desc->addTextField('description',false,false);
|
|
|
- $desc->addInputComponent(new InputGroupElements\Select('type'));
|
|
|
- $this->addSection($desc);
|
|
|
+ $this->generateDoubleSection([new Text('description'), new Select('type')]);
|
|
|
|
|
|
-// $this->generateDoubleSection([new Text('description'), new Select('type')]);
|
|
|
-
|
|
|
-// $this->generateDoubleSection([new Select('manager'), new Select('status')]);
|
|
|
+ $this->generateDoubleSection([new Select('manager'), new Select('status')]);
|
|
|
|
|
|
}
|
|
|
}
|