Lines Matching refs:form
88 * Render HTML output, e.g. helpful text and a form
126 ptln($this->form('update'));
166 ptln($this->form());
171 protected function form($action='add')
175 $form = new dokuwiki\Form\Form();
176 $form->addTagOpen('tr');
178 $form->addTagOpen('td');
179 $form->addTextInput('predicate[schema]')->attr('style', 'width: 8em');
180 $form->addTagClose('td');
182 $form->addTagOpen('td');
183 $form->addTextInput('predicate[field]')->attr('style', 'width: 8em');
184 $form->addTagClose('td');
186 $form->addTagOpen('td');
187 $form->addDropdown('predicate[operator]', $this->operators);
188 $form->addTagClose('td');
190 $form->addTagOpen('td');
191 $form->addTextInput('predicate[value]')->attr('style', 'width: 12em');
192 $form->addTagClose('td');
194 $form->addTagOpen('td');
195 $form->addTextInput('predicate[users_and_groups]')->attr('style', 'width: 12em');
196 $form->addTagClose('td');
198 $form->addTagOpen('td');
199 $form->addHTML('<div id="tool__bar"></div>');
200 $form->setHiddenField('id', $ID); //for linkwiz
201 $form->addTextarea('predicate[message]')
204 $form->addTagClose('td');
206 $form->addTagOpen('td');
207 $form->addButton('action', $this->getLang($action))->val($action);
215 $form->addHTML($cancel_link);
216 $form->addTagClose('td');
219 $form->addTagClose('tr');
221 return $form->toHTML();