Lines Matching refs:form
246 $form = new Form();
254 $form->setHiddenField('page_id', $ID);
255 $form->setHiddenField('do', helper_plugin_newsfeed::FORM_TARGET);
256 $form->setHiddenField('news[id]', $INPUT->param('news')['id']);
257 $form->setHiddenField('news[do]', 'save');
258 $form->setHiddenField('news[stream]', $INPUT->param('news')['stream']);
259 $form->addFieldsetOpen('Novinky na webu');
263 $form->addTagOpen('div')->addClass('form-group');
267 $input = $form->addTextarea('text', $this->getLang($field), -1)->attrs([
277 $form->addElement($input);
281 …$input = $form->addDropdown('category', static::$categories, $this->getLang($field))->attr('class'…
285 … $input = $form->addTextInput($field, $this->getLang($field))->attr('class', 'form-control');
289 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
295 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
301 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
311 $form->addElement($input);
315 $input = $form->addTextInput($field, $this->getLang($field))->attrs([
326 $form->addHTML('<small>' . $note . '</small>');
328 $form->addTagClose('div');
330 $form->addFieldsetClose();
331 $form->addButton('submit', $this->getLang('save'))->addClass('btn btn-success');
332 echo $form->toHTML();