|
@@ -50,7 +50,16 @@ class AddRessourceForm extends SortedFieldForm implements ClientArea
|
|
|
|
|
|
|
|
public function initFields()
|
|
public function initFields()
|
|
|
{
|
|
{
|
|
|
- $this->addSection(new GeneralSection());
|
|
|
|
|
|
|
+ $email = new InputGroup('usernameGroup');
|
|
|
|
|
+
|
|
|
|
|
+ $email->addTextField('name', false, true);
|
|
|
|
|
+ $email->addInputAddon('emailSign', false, '@');
|
|
|
|
|
+ $email->addInputComponent((new InputGroupElements\Text('domain'))->addHtmlAttribute('readonly','true'));
|
|
|
|
|
+ $this->addSection($email);
|
|
|
|
|
+
|
|
|
|
|
+ $this->generateDoubleSection([new Text('description'), new Select('type')]);
|
|
|
|
|
+
|
|
|
|
|
+ $this->generateDoubleSection([new Select('manager'), new Select('status')]);
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|