/**
  * init create form
  * @param  $a_new_type
  */
 public function initCreateForm($a_new_type)
 {
     $GLOBALS['ilLog']->logStack();
     // @todo: handle this in delete event
     ilObjVitero::handleDeletedGroups();
     $form = parent::initCreateForm($a_new_type);
     $settings = ilViteroSettings::getInstance();
     // show selection
     if ($settings->isCafeEnabled() and $settings->isStandardRoomEnabled()) {
         $type_select = new ilRadioGroupInputGUI(ilViteroPlugin::getInstance()->txt('app_type'), 'atype');
         $type_select->setValue(ilViteroRoom::TYPE_CAFE);
         // Cafe
         $cafe = new ilRadioOption(ilViteroPlugin::getInstance()->txt('app_type_cafe'), ilViteroRoom::TYPE_CAFE);
         $type_select->addOption($cafe);
         $this->initFormCafe($cafe);
         // Standard
         $std = new ilRadioOption(ilViteroPlugin::getInstance()->txt('app_type_standard'), ilViteroRoom::TYPE_STD);
         $type_select->addOption($std);
         $this->initFormStandardRoom($std);
         $form->addItem($type_select);
     } elseif ($settings->isCafeEnabled()) {
         $this->initFormCafe($form);
     } elseif ($settings->isStandardRoomEnabled()) {
         $this->initFormStandardRoom($form);
     }
     $this->initFormTimeBuffer($form);
     $this->initFormRoomSize($form);
     return $form;
 }