Lines Matching defs:form
30 * Show conflict form to ask whether save anyway or cancel the page edits
44 // create the form
45 $form = new Form(['id' => 'dw__editform']);
46 $form->addTagOpen('div')->addClass('no');
47 $form->setHiddenField('id', $INFO['id']);
48 $form->setHiddenField('wikitext', $this->text);
49 $form->setHiddenField('summary', $this->summary);
51 $form->addButton('do[save]', $lang['btn_save'])->attrs(['type' => 'submit', 'accesskey' => 's']);
52 $form->addButton('do[cancel]', $lang['btn_cancel'])->attrs(['type' => 'submit']);
53 $form->addTagClose('div');
55 echo $form->toHTML('Conflict');