Explorar el Código

test use sections

andre hace 3 meses
padre
commit
70736fbea6
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      app/UI/Client/Setting/Sections/GeneralSection.php

+ 1 - 2
app/UI/Client/Setting/Sections/GeneralSection.php

@@ -27,8 +27,7 @@ class GeneralSection extends FreeFieldsSection
     public function initContent()
     public function initContent()
     {
     {
         $row = new InputGroup('MX');
         $row = new InputGroup('MX');
-        $raw->setDescription('description');
-        $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true'));
+        $row->addInputComponent((new InputGroupElements\Text('mxthurdata'))->addHtmlAttribute('readonly','true')->setDescription('description'));
         $row->addInputAddon('', false, '⇔');
         $row->addInputAddon('', false, '⇔');
         $row->addInputComponent((new InputGroupElements\Text('mxactive'))->addHtmlAttribute('readonly','true'));
         $row->addInputComponent((new InputGroupElements\Text('mxactive'))->addHtmlAttribute('readonly','true'));
         $this->addSection($row);
         $this->addSection($row);