protected function createComponentEditForm()
 {
     $form = new \CustomForm();
     $form->addRadioList('icon', 'Ikonka', $this->icons);
     $form->addTextArea('text', 'Text');
     $form->addText('link', 'Odkaz (celá URL adresa)', 1000);
     $form->addSubmit('create', 'Uložit');
     $form->addSubmit('cancel', 'Zrušit')->setValidationScope(FALSE);
     $form->setCustomRenderer();
     $form->onSuccess[] = array($this, 'editFormSucceeded');
     return $form;
 }