浏览代码

new info form

andre 5 月之前
父节点
当前提交
129ab1cef9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/UI/Client/Setting/Forms/InfoForm.php

+ 1 - 1
app/UI/Client/Setting/Forms/InfoForm.php

@@ -31,7 +31,7 @@ class InfoForm extends BaseForm implements ClientArea
     private function initFields()
     {
         $this->setConfirmMessage("DNS Information");
-        $this->addInternalAlert($this->addField(new Text("message")), 'info', 100);
+        $this->addInternalAlert('Test', 'info', 100)->addField(new Text("message"));
         $this->addField(new Hidden("id"));
         $this->addField(new Hidden("selfdns"));
         $this->addField(new Hidden("selfdomain"));