public function createForm()
    {
        $form = new Nette\Application\UI\Form();

        $form->getElementPrototype()->addAttributes(array('class' => 'ajax'));
        $form->setTranslator($this->translator);
        $form->setRenderer(new BootstrapRenderer());

        return $form;
    }