Kaynağa Gözat

add ressources

andre 2 yıl önce
ebeveyn
işleme
f0491747b5

+ 4 - 4
app/UI/Client/Ressource/Forms/AddRessourceForm.php

@@ -57,14 +57,14 @@ class AddRessourceForm extends SortedFieldForm implements ClientArea
         $email->addInputComponent((new InputGroupElements\Text('domain'))->addHtmlAttribute('readonly','true'));
         $this->addSection($email);
 
-        $desc = new RawSection();
-        $desc->addField(new Text('description'));
-        $desc->addField(new Select('type'));
+        $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 Select('manager'), new Select('status')]);
+//        $this->generateDoubleSection([new Select('manager'), new Select('status')]);
 
     }
 }