|
@@ -48,8 +48,16 @@ class EditRessourceForm extends SortedFieldForm implements ClientArea
|
|
|
|
|
|
|
|
public function initFields()
|
|
public function initFields()
|
|
|
{
|
|
{
|
|
|
- $this->addSection(new EditGeneralSection());
|
|
|
|
|
|
|
+ $email = new InputGroup('usernameGroup');
|
|
|
|
|
+
|
|
|
|
|
+ $email->addTextField('name', false, true)->addHtmlAttribute('readonly','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')]);
|
|
|
|
|
|
|
|
- $this->addSection(new EditAdditionalSection());
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|