Ejemplo n.º 1
0
 /**
  * @return \Nette\Forms\Controls\TextInput
  */
 protected function getFormControl()
 {
     $control = new \Nette\Forms\Controls\TextInput($this->label);
     $control->getControlPrototype()->class[] = 'text';
     return $control;
 }