public function createComponentOrderForm()
 {
     $form = new Form();
     $radioList = [];
     foreach ($this->genresManager->getAllNonEmptyGenres() as $genre) {
         $radioList[$genre->getId()] = $genre->getName();
     }
     $form->addRadioList('genre', '', $radioList);
     $form->addSubmit('order', 'Objednat');
     $form->onSuccess[] = $this->orderGenre;
     return $form;
 }
 public function actionDefault()
 {
     $this->genres = $this->genresManager->getAllNonEmptyGenres();
 }