Lines Matching refs:form
54 $form = new Form(['method' => 'post']);
55 $form->setHiddenField('do', 'admin');
56 $form->setHiddenField('page', 'acknowledge_assign');
57 $form->addTagOpen('table');
58 $form->addTagOpen('tr');
59 $form->addTagOpen('th');
60 $form->addHTML($this->getLang('pattern'));
61 $form->addTagClose('th');
62 $form->addTagOpen('th');
63 $form->addHTML($this->getLang('assignees'));
64 $form->addTagClose('th');
65 $form->addTagClose('tr');
67 $this->addRow($form, $pattern, $assignees);
69 $this->addRow($form, '', '');
70 $form->addTagClose('table');
72 $form->addButton('save', $this->getLang('save'));
73 echo $form->toHTML();
77 * @param Form $form
82 public function addRow($form, $pattern, $assignee)
86 $form->addTagOpen('tr');
87 $form->addTagOpen('td');
88 $form->addTextInput("pattern[$row]")->val($pattern);
89 $form->addTagClose('td');
90 $form->addTagOpen('td');
91 $form->addTextInput("assignees[$row]")->val($assignee);
92 $form->addTagClose('td');
93 $form->addTagClose('tr');