public function getEditableControl() { if ($this->editableControl === NULL) { $this->editableControl = new \Nette\Forms\Controls\TextInput(); $this->editableControl->controlPrototype->class[] = 'form-control'; } return $this->editableControl; }